diff --git a/src/ServiceLinker/Az.ServiceLinker.format.ps1xml b/src/ServiceLinker/Az.ServiceLinker.format.ps1xml
index 4c6d9450dd26..8c1c158049e7 100644
--- a/src/ServiceLinker/Az.ServiceLinker.format.ps1xml
+++ b/src/ServiceLinker/Az.ServiceLinker.format.ps1xml
@@ -8,31 +8,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ConnectorName
+
+
+ DryrunName
+
LinkerName
+
+ Location
+
+
+ ResourceGroupName
+
ResourceUri
+
+ SubscriptionId
+
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.ErrorDetail
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.ErrorDetail
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.ErrorDetail
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.ErrorDetail
@@ -64,9 +94,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.Operation
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.Operation
@@ -104,9 +134,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.OperationDisplay
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.OperationDisplay
@@ -144,9 +174,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.OperationListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.OperationListResult
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.OperationListResult
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.OperationListResult
@@ -166,15 +196,33 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.ProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.ProxyResource
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.ProxyResource
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.ProxyResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -182,15 +230,33 @@
Name
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.Resource
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.Resource
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.Resource
@@ -210,9 +276,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.SystemData
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.SystemData
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20.SystemData
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api30.SystemData
@@ -262,15 +328,18 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AuthInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AccessKeyInfoBase
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AuthInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AccessKeyInfoBase
+
+
+
@@ -278,27 +347,30 @@
AuthType
+
+ Permission
+
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureKeyVaultProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AuthInfoBase
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureKeyVaultProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AuthInfoBase
-
+
- ConnectAsKubernetesCsiDriver
+ AuthType
@@ -306,21 +378,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureKeyVaultProperties
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureKeyVaultProperties
-
+
- Endpoint
+ ConnectAsKubernetesCsiDriver
@@ -328,21 +400,27 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.BasicErrorDryrunPrerequisiteResult
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.BasicErrorDryrunPrerequisiteResult
-
+
+
+
+
- Endpoint
+ Code
+
+
+ Message
@@ -350,33 +428,27 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretReferenceSecretInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationInfo
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretReferenceSecretInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationInfo
-
-
-
-
+
-
+
- SecretType
-
-
- Name
+ Action
- Version
+ DeleteOrUpdateBehavior
@@ -384,27 +456,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretUriSecretInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationInfoAdditionalConfigurations
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretUriSecretInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationInfoAdditionalConfigurations
-
-
-
-
+
- SecretType
-
-
- Value
+ Item
@@ -412,21 +478,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.LinkerList
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationInfoCustomizedKeys
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.LinkerList
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationInfoCustomizedKeys
-
+
- NextLink
+ Item
@@ -434,33 +500,27 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.LinkerProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationName
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.LinkerProperties
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationName
-
-
-
-
+
-
+
- ClientType
-
-
- ProvisioningState
+ Description
- Scope
+ Value
@@ -468,21 +528,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.LinkerResource
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationNameResult
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.LinkerResource
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationNameResult
-
+
- Name
+ NextLink
@@ -490,9 +550,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationNames
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfigurationNames
@@ -500,7 +560,10 @@
-
+
+
+
+
@@ -510,7 +573,10 @@
AuthType
- Name
+ ClientType
+
+
+ TargetService
@@ -518,21 +584,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretInfoBase
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer
-
+
- SecretType
+ Endpoint
@@ -540,21 +606,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretStore
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretStore
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry
-
+
- KeyVaultId
+ Endpoint
@@ -562,79 +628,105 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalCertificateAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.CreateOrUpdateDryrunParameters
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalCertificateAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.CreateOrUpdateDryrunParameters
-
+
-
+
-
+
-
+
-
-
-
-
-
- AuthType
-
-
- Certificate
-
-
- ClientId
-
-
- PrincipalId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo
-
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo
-
-
-
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- AuthType
+ ActionName
- ClientId
+ ClientType
- PrincipalId
+ ConfigurationInfoAction
- Secret
+ ConfigurationInfoDeleteOrUpdateBehavior
+
+
+ FirewallRuleAzureService
+
+
+ FirewallRuleCallerClientIP
+
+
+ FirewallRuleIPRange
+
+
+ ProvisioningState
+
+
+ PublicNetworkSolutionAction
+
+
+ PublicNetworkSolutionDeleteOrUpdateBehavior
+
+
+ Scope
+
+
+ SecretStoreKeyVaultId
+
+
+ SecretStoreKeyVaultSecretName
+
+
+ VNetSolutionDeleteOrUpdateBehavior
+
+
+ VNetSolutionType
@@ -642,27 +734,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SourceConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DatabaseAadAuthInfo
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SourceConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DatabaseAadAuthInfo
-
-
-
-
+
- Name
-
-
- Value
+ UserName
@@ -670,21 +756,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunList
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunList
-
+
- AuthType
+ NextLink
@@ -692,33 +778,45 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunOperationPreview
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunOperationPreview
-
+
-
+
-
+
+
+
+
+
+
+
- AuthType
+ Action
- ClientId
+ Description
- SubscriptionId
+ Name
+
+
+ OperationType
+
+
+ Scope
@@ -726,27 +824,21 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValidateOperationResult
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunParameters
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValidateOperationResult
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunParameters
-
-
-
-
+
- ResourceId
-
-
- Status
+ ActionName
@@ -754,26 +846,782 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValidateResult
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunProperties
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValidateResult
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunProperties
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.DryrunResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.FirewallRules
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.FirewallRules
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureService
+
+
+ CallerClientIP
+
+
+ IPRange
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SecretType
+
+
+ Name
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretUriSecretInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretUriSecretInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SecretType
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.LinkerProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.LinkerProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientType
+
+
+ ProvisioningState
+
+
+ Scope
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.LinkerResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.LinkerResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.PermissionsMissingDryrunPrerequisiteResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.PermissionsMissingDryrunPrerequisiteResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Permission
+
+
+ RecommendedRole
+
+
+ Scope
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.PublicNetworkSolution
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.PublicNetworkSolution
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Action
+
+
+ DeleteOrUpdateBehavior
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ResourceList
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ResourceList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthType
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretInfoBase
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretInfoBase
+
+
+
+
+
+
+
+
+
+
+
+ SecretType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretStore
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretStore
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeyVaultId
+
+
+ KeyVaultSecretName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SelfHostedServer
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SelfHostedServer
+
+
+
+
+
+
+
+
+
+
+
+ Endpoint
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalCertificateAuthInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalCertificateAuthInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthType
+
+
+ Certificate
+
+
+ ClientId
+
+
+ DeleteOrUpdateBehavior
+
+
+ PrincipalId
+
+
+ Role
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthType
+
+
+ UserName
+
+
+ ClientId
+
+
+ DeleteOrUpdateBehavior
+
+
+ PrincipalId
+
+
+ Role
+
+
+ Secret
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SourceConfiguration
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SourceConfiguration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthType
+
+
+ UserName
+
+
+ DeleteOrUpdateBehavior
+
+
+ Role
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAccountAuthInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAccountAuthInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthType
+
+
+ UserName
+
+
+ DeleteOrUpdateBehavior
+
+
+ PrincipalId
+
+
+ Role
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthType
+
+
+ UserName
+
+
+ ClientId
+
+
+ DeleteOrUpdateBehavior
+
+
+ Role
+
+
+ SubscriptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValidateOperationResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValidateOperationResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResourceId
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValidateResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValidateResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -812,9 +1660,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValidationResultItem
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValidationResultItem
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValidationResultItem
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValidationResultItem
@@ -858,9 +1706,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValueSecretInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValueSecretInfo
- Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValueSecretInfo
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValueSecretInfo
@@ -885,5 +1733,27 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.VNetSolution
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.VNetSolution
+
+
+
+
+
+
+
+
+
+
+
+ DeleteOrUpdateBehavior
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ServiceLinker/Az.ServiceLinker.psd1 b/src/ServiceLinker/Az.ServiceLinker.psd1
index fb161db73c09..df0a2c682a48 100644
--- a/src/ServiceLinker/Az.ServiceLinker.psd1
+++ b/src/ServiceLinker/Az.ServiceLinker.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 5/19/2022
+# Generated on: 2/17/2023
#
@{
@@ -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',
@@ -84,7 +85,7 @@ FunctionsToExport = 'Get-AzServiceLinkerConfigurationForContainerApp',
'New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject',
'New-AzServiceLinkerUserAssignedIdentityAuthInfoObject',
'Remove-AzServiceLinkerForContainerApp',
- 'Remove-AzServiceLinkerForSpringcloud',
+ 'Remove-AzServiceLinkerForSpringCloud',
'Remove-AzServiceLinkerForWebApp',
'Test-AzServiceLinkerForContainerApp',
'Test-AzServiceLinkerForSpringCloud',
@@ -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 = ''
diff --git a/src/ServiceLinker/Az.ServiceLinker.psm1 b/src/ServiceLinker/Az.ServiceLinker.psm1
index 61a4a524b4c9..f8133c3801b1 100644
--- a/src/ServiceLinker/Az.ServiceLinker.psm1
+++ b/src/ServiceLinker/Az.ServiceLinker.psm1
@@ -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
}
diff --git a/src/ServiceLinker/Changelog.md b/src/ServiceLinker/Changelog.md
index 4dd5905609f3..933e568d9876 100644
--- a/src/ServiceLinker/Changelog.md
+++ b/src/ServiceLinker/Changelog.md
@@ -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
diff --git a/src/ServiceLinker/README.md b/src/ServiceLinker/README.md
index 6252d388e810..dae874de4b55 100644
--- a/src/ServiceLinker/README.md
+++ b/src/ServiceLinker/README.md
@@ -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"
@@ -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
@@ -104,5 +111,4 @@ directive:
set:
default:
script: '"none"'
-
```
diff --git a/src/ServiceLinker/ServiceLinker.sln b/src/ServiceLinker/ServiceLinker.sln
index e89d5f48a02f..faaaf2d47472 100644
--- a/src/ServiceLinker/ServiceLinker.sln
+++ b/src/ServiceLinker/ServiceLinker.sln
@@ -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
diff --git a/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForContainerApp.ps1 b/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForContainerApp.ps1
index d92c9414c2f8..169a4b042083 100644
--- a/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForContainerApp.ps1
+++ b/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForContainerApp.ps1
@@ -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)]
diff --git a/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForSpringCloud.ps1 b/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
index 65be13d9ef86..db1fb5aff13f 100644
--- a/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
+++ b/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
@@ -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)]
diff --git a/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForWebApp.ps1 b/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForWebApp.ps1
index 1df662f43945..a61b42dd4c8a 100644
--- a/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForWebApp.ps1
+++ b/src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForWebApp.ps1
@@ -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)]
diff --git a/src/ServiceLinker/custom/Get-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/custom/Get-AzServiceLinkerForContainerApp.ps1
index 2073a66d34ac..db7f5860b05b 100644
--- a/src/ServiceLinker/custom/Get-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/custom/Get-AzServiceLinkerForContainerApp.ps1
@@ -34,7 +34,7 @@ INPUTOBJECT : 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)]
diff --git a/src/ServiceLinker/custom/Get-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/custom/Get-AzServiceLinkerForSpringCloud.ps1
index 17d6474e623d..d59790c5cad6 100644
--- a/src/ServiceLinker/custom/Get-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/custom/Get-AzServiceLinkerForSpringCloud.ps1
@@ -35,7 +35,7 @@ INPUTOBJECT : 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)]
diff --git a/src/ServiceLinker/custom/Get-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/custom/Get-AzServiceLinkerForWebApp.ps1
index 637cdd12a21c..16aad01050e0 100644
--- a/src/ServiceLinker/custom/Get-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/custom/Get-AzServiceLinkerForWebApp.ps1
@@ -35,7 +35,7 @@ INPUTOBJECT : 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)]
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerAzureResourceObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerAzureResourceObject.ps1
index caa7b366a29b..eae474212723 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerAzureResourceObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerAzureResourceObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for AzureResource.
Create an in-memory object for AzureResource.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerazureresourceobject
#>
function New-AzServiceLinkerAzureResourceObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -34,7 +34,7 @@ function New-AzServiceLinkerAzureResourceObject {
[string]
$Id,
# [Parameter(HelpMessage="The azure resource connection related properties.")]
- # [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAzureResourcePropertiesBase]
+ # [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAzureResourcePropertiesBase]
# $ResourceProperty,
[Parameter(HelpMessage="True if connect via Kubernetes CSI Driver. Source must be AKS and target must be KeyVault.")]
[bool]
@@ -47,7 +47,7 @@ function New-AzServiceLinkerAzureResourceObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource]::New()
if ($PSBoundParameters.ContainsKey('Id')) {
$Pattern = "/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/(?[^/]+)(/(?[^/]+)/(?[^/]+))+"
@@ -57,7 +57,7 @@ function New-AzServiceLinkerAzureResourceObject {
$Object.Id = $Id
}
if ($PSBoundParameters.ContainsKey('ConnectAsKubernetesCsiDriver')) {
- $ResourceProperty = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureKeyVaultProperties]::New()
+ $ResourceProperty = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureKeyVaultProperties]::New()
$ResourceProperty.ConnectAsKubernetesCsiDriver = $ConnectAsKubernetesCsiDriver
$Object.ResourceProperty = $ResourceProperty
}
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerConfluentBootstrapServerObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerConfluentBootstrapServerObject.ps1
index d2f470d1bc5a..deada327a51c 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerConfluentBootstrapServerObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerConfluentBootstrapServerObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for ConfluentBootstrapServer.
Create an in-memory object for ConfluentBootstrapServer.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentbootstrapserverobject
#>
function New-AzServiceLinkerConfluentBootstrapServerObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -41,7 +41,7 @@ function New-AzServiceLinkerConfluentBootstrapServerObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer]::New()
if ($PSBoundParameters.ContainsKey('Endpoint')) {
if($Endpoint -notmatch ".*confluent.cloud:[0-9]*") {
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1
index 15170ef09333..f57e78acf029 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for ConfluentSchemaRegistry.
Create an in-memory object for ConfluentSchemaRegistry.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentschemaregistryobject
#>
function New-AzServiceLinkerConfluentSchemaRegistryObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -41,7 +41,7 @@ function New-AzServiceLinkerConfluentSchemaRegistryObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry]::New()
if ($PSBoundParameters.ContainsKey('Endpoint')) {
if($Endpoint -notmatch "https://.*\.confluent\.cloud"){
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerForContainerApp.ps1
index b838e9fac1a3..c86b4c12f8c1 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerForContainerApp.ps1
@@ -23,8 +23,8 @@ Create or update linker resource in container app.
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforcontainerapp
#>
function New-AzServiceLinkerForContainerApp {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
- [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
+ [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
@@ -41,7 +41,7 @@ function New-AzServiceLinkerForContainerApp {
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
[System.String]
# Gets subscription ID which uniquely identify the Microsoft Azure subscription.
# The subscription ID forms part of the URI for every service call.
@@ -56,14 +56,14 @@ function New-AzServiceLinkerForContainerApp {
[Parameter()]
[Alias('LinkerName')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
[System.String]
# The name Linker resource.
${Name},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -71,12 +71,72 @@ function New-AzServiceLinkerForContainerApp {
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"none"')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"none"')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType]
# The application client type
${ClientType},
- [Parameter(Mandatory)]
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
+ [Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
# connection scope in source service.
@@ -88,13 +148,19 @@ function New-AzServiceLinkerForContainerApp {
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
-
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -175,4 +241,4 @@ function New-AzServiceLinkerForContainerApp {
$PSBoundParameters = Set-Header -PSBoundParameters $PSBoundParameters
Az.ServiceLinker.internal\New-AzServiceLinker @PSBoundParameters
}
-}
\ No newline at end of file
+}
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerForSpringCloud.ps1
index b853ec36d4e3..3269055dd030 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerForSpringCloud.ps1
@@ -23,8 +23,8 @@ Create or update linker resource in spring cloud.
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforspringcloud
#>
function New-AzServiceLinkerForSpringCloud {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
- [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
+ [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
@@ -46,7 +46,7 @@ function New-AzServiceLinkerForSpringCloud {
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"default"')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"default"')]
[System.String]
# The deployment Name of spring cloud app to be connected.
${DeploymentName},
@@ -60,7 +60,7 @@ function New-AzServiceLinkerForSpringCloud {
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
[System.String]
# Gets subscription ID which uniquely identify the Microsoft Azure subscription.
# The subscription ID forms part of the URI for every service call.
@@ -69,14 +69,14 @@ function New-AzServiceLinkerForSpringCloud {
[Parameter()]
[Alias('LinkerName')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
[System.String]
# The name Linker resource.
${Name},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -84,11 +84,71 @@ function New-AzServiceLinkerForSpringCloud {
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"none"')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"none"')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType]
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
@@ -101,13 +161,19 @@ function New-AzServiceLinkerForSpringCloud {
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
-
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -188,4 +254,4 @@ function New-AzServiceLinkerForSpringCloud {
$PSBoundParameters = Set-Header -PSBoundParameters $PSBoundParameters
Az.ServiceLinker.internal\New-AzServiceLinker @PSBoundParameters
}
-}
\ No newline at end of file
+}
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerForWebApp.ps1
index c00b9a69a43a..b14f4dd0a5f9 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerForWebApp.ps1
@@ -23,7 +23,7 @@ Create or update linker resource in webapp.
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforwebapp
#>
function New-AzServiceLinkerForWebApp {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -57,14 +57,14 @@ function New-AzServiceLinkerForWebApp {
[Parameter()]
[Alias('LinkerName')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
[System.String]
# The name Linker resource.
${Name},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -72,11 +72,71 @@ function New-AzServiceLinkerForWebApp {
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"none"')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"none"')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType]
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
@@ -89,13 +149,19 @@ function New-AzServiceLinkerForWebApp {
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
-
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -176,4 +242,4 @@ function New-AzServiceLinkerForWebApp {
$PSBoundParameters = Set-Header -PSBoundParameters $PSBoundParameters
Az.ServiceLinker.internal\New-AzServiceLinker @PSBoundParameters
}
-}
\ No newline at end of file
+}
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretReferenceSecretInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretReferenceSecretInfoObject.ps1
index e25455ab6b3a..efd8561e2270 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretReferenceSecretInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretReferenceSecretInfoObject.ps1
@@ -21,13 +21,13 @@ Create an in-memory object for KeyVaultSecretReferenceSecretInfo.
Create an in-memory object for KeyVaultSecretReferenceSecretInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretReferenceSecretInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerkeyvaultsecretreferencesecretinfoobject
#>
function New-AzServiceLinkerKeyVaultSecretReferenceSecretInfoObject {
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.DoNotExportAttribute()]
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretReferenceSecretInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -44,7 +44,7 @@ function New-AzServiceLinkerKeyVaultSecretReferenceSecretInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretReferenceSecretInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretReferenceSecretInfo]::New()
if ($PSBoundParameters.ContainsKey('Name')) {
$Object.Name = $Name
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretUriSecretInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretUriSecretInfoObject.ps1
index 3d7d43191fc9..cc8505ef5261 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretUriSecretInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerKeyVaultSecretUriSecretInfoObject.ps1
@@ -21,13 +21,13 @@ Create an in-memory object for KeyVaultSecretUriSecretInfo.
Create an in-memory object for KeyVaultSecretUriSecretInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretUriSecretInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretUriSecretInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerkeyvaultsecreturisecretinfoobject
#>
function New-AzServiceLinkerKeyVaultSecretUriSecretInfoObject {
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.DoNotExportAttribute()]
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretUriSecretInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretUriSecretInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -41,7 +41,7 @@ function New-AzServiceLinkerKeyVaultSecretUriSecretInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.KeyVaultSecretUriSecretInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.KeyVaultSecretUriSecretInfo]::New()
if ($PSBoundParameters.ContainsKey('Value')) {
$Object.Value = $Value
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerSecretAuthInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerSecretAuthInfoObject.ps1
index cff9c1223096..c277b75ab6a9 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerSecretAuthInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerSecretAuthInfoObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for SecretAuthInfo.
Create an in-memory object for SecretAuthInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkersecretauthinfoobject
#>
function New-AzServiceLinkerSecretAuthInfoObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -34,7 +34,7 @@ function New-AzServiceLinkerSecretAuthInfoObject {
[string]
$Name,
[Parameter(DontShow, HelpMessage="Password or key vault secret for secret auth.")]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISecretInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISecretInfoBase]
$SecretInfo,
[Parameter(HelpMessage="Raw value of secret.")]
@@ -54,7 +54,7 @@ function New-AzServiceLinkerSecretAuthInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo]::New()
if ($PSBoundParameters.ContainsKey('Name')) {
$Object.Name = $Name
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1
index 37797ad34d82..b66d451318b0 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for ServicePrincipalSecretAuthInfo.
Create an in-memory object for ServicePrincipalSecretAuthInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerserviceprincipalsecretauthinfoobject
#>
function New-AzServiceLinkerServicePrincipalSecretAuthInfoObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -47,7 +47,7 @@ function New-AzServiceLinkerServicePrincipalSecretAuthInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo]::New()
if ($PSBoundParameters.ContainsKey('ClientId')) {
$Object.ClientId = $ClientId
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1
index 096d76d07c54..130923fa9fee 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for SystemAssignedIdentityAuthInfo.
Create an in-memory object for SystemAssignedIdentityAuthInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkersystemassignedidentityauthinfoobject
#>
function New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -38,7 +38,7 @@ function New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo]::New()
if ($PSBoundParameters.ContainsKey('AuthType')) {
$Object.AuthType = $AuthType
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1
index dbe3d776c360..a4656e34acfc 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1
@@ -21,12 +21,12 @@ Create an in-memory object for UserAssignedIdentityAuthInfo.
Create an in-memory object for UserAssignedIdentityAuthInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkeruserassignedidentityauthinfoobject
#>
function New-AzServiceLinkerUserAssignedIdentityAuthInfoObject {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -44,7 +44,7 @@ function New-AzServiceLinkerUserAssignedIdentityAuthInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo]::New()
if ($PSBoundParameters.ContainsKey('ClientId')) {
$Object.ClientId = $ClientId
diff --git a/src/ServiceLinker/custom/New-AzServiceLinkerValueSecretInfoObject.ps1 b/src/ServiceLinker/custom/New-AzServiceLinkerValueSecretInfoObject.ps1
index 856e64b3ecca..fe6f2836e136 100644
--- a/src/ServiceLinker/custom/New-AzServiceLinkerValueSecretInfoObject.ps1
+++ b/src/ServiceLinker/custom/New-AzServiceLinkerValueSecretInfoObject.ps1
@@ -21,13 +21,13 @@ Create an in-memory object for ValueSecretInfo.
Create an in-memory object for ValueSecretInfo.
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValueSecretInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValueSecretInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkervaluesecretinfoobject
#>
function New-AzServiceLinkerValueSecretInfoObject {
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.DoNotExportAttribute()]
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValueSecretInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValueSecretInfo')]
[CmdletBinding(PositionalBinding=$false)]
Param(
@@ -41,7 +41,7 @@ function New-AzServiceLinkerValueSecretInfoObject {
)
process {
- $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ValueSecretInfo]::New()
+ $Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ValueSecretInfo]::New()
if ($PSBoundParameters.ContainsKey('Value')) {
$Object.Value = $Value
diff --git a/src/ServiceLinker/custom/README.md b/src/ServiceLinker/custom/README.md
index ddb64e96493c..7b4de8a8caef 100644
--- a/src/ServiceLinker/custom/README.md
+++ b/src/ServiceLinker/custom/README.md
@@ -32,7 +32,7 @@ These provide functionality to our HTTP pipeline and other useful features. In s
### Attributes
For processing the cmdlets, we've created some additional attributes:
- `Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.DescriptionAttribute`
- - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
+ - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
- `Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.DoNotExportAttribute`
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.ServiceLinker`.
- `Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.InternalExportAttribute`
diff --git a/src/ServiceLinker/custom/Remove-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/custom/Remove-AzServiceLinkerForSpringCloud.ps1
index fa300333ad0e..75d17dcedba8 100644
--- a/src/ServiceLinker/custom/Remove-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/custom/Remove-AzServiceLinkerForSpringCloud.ps1
@@ -34,7 +34,7 @@ INPUTOBJECT : Identity Parameter
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforspringcloud
#>
-function Remove-AzServiceLinkerForSpringcloud {
+function Remove-AzServiceLinkerForSpringCloud {
[OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
diff --git a/src/ServiceLinker/custom/Test-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/custom/Test-AzServiceLinkerForContainerApp.ps1
index b0c2e5f4173f..534918c33d54 100644
--- a/src/ServiceLinker/custom/Test-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/custom/Test-AzServiceLinkerForContainerApp.ps1
@@ -23,7 +23,7 @@ Validate a link in container app.
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -37,7 +37,7 @@ INPUTOBJECT : Identity Parameter
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforcontainerapp
#>
function Test-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
diff --git a/src/ServiceLinker/custom/Test-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/custom/Test-AzServiceLinkerForSpringCloud.ps1
index c7a17662e33c..4e3a19d969f2 100644
--- a/src/ServiceLinker/custom/Test-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/custom/Test-AzServiceLinkerForSpringCloud.ps1
@@ -35,7 +35,7 @@ INPUTOBJECT : Identity Parameter
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforspringcloud
#>
function Test-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
diff --git a/src/ServiceLinker/custom/Test-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/custom/Test-AzServiceLinkerForWebApp.ps1
index 3cf38ac3ca14..351ad268ce9a 100644
--- a/src/ServiceLinker/custom/Test-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/custom/Test-AzServiceLinkerForWebApp.ps1
@@ -35,7 +35,7 @@ INPUTOBJECT : Identity Parameter
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforwebapp
#>
function Test-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
diff --git a/src/ServiceLinker/custom/Update-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/custom/Update-AzServiceLinkerForContainerApp.ps1
index c3b5affe8866..945d86e90268 100644
--- a/src/ServiceLinker/custom/Update-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/custom/Update-AzServiceLinkerForContainerApp.ps1
@@ -41,29 +41,29 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforcontainerapp
#>
function Update-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
-[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
+[CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
- [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)]
[Alias('LinkerName')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
[System.String]
# The name Linker resource.
${Name},
- [Parameter(ParameterSetName='UpdateExpanded')]
+ [Parameter(ParameterSetName = 'UpdateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
[System.String]
# The fully qualified Azure Resource manager identifier of the resource to be connected.
${ResourceUri},
- [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
[System.String]
# The Name of container app of the resource to be connected.
${ContainerApp},
- [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
+ [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
[System.String]
# The resource group of the resource to be connected.
@@ -71,13 +71,13 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
[System.String]
# Gets subscription ID which uniquely identify the Microsoft Azure subscription.
# The subscription ID forms part of the URI for every service call.
${SubscriptionId},
- [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
+ [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity]
# Identity Parameter
@@ -86,7 +86,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -112,7 +112,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
diff --git a/src/ServiceLinker/custom/Update-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/custom/Update-AzServiceLinkerForSpringCloud.ps1
index 1ed419af49d6..ece80e6e8af9 100644
--- a/src/ServiceLinker/custom/Update-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/custom/Update-AzServiceLinkerForSpringCloud.ps1
@@ -41,7 +41,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforspringcloud
#>
function Update-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -99,7 +99,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -125,7 +125,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
diff --git a/src/ServiceLinker/custom/Update-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/custom/Update-AzServiceLinkerForWebApp.ps1
index 1825accfbbc6..9f83765fbc58 100644
--- a/src/ServiceLinker/custom/Update-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/custom/Update-AzServiceLinkerForWebApp.ps1
@@ -41,7 +41,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforwebapp
#>
function Update-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -86,7 +86,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -112,7 +112,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForContainerApp.md b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForContainerApp.md
index d09a4c081464..94dea83e26f4 100644
--- a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForContainerApp.md
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForContainerApp.md
@@ -1,6 +1,6 @@
### Example 1: Get container app's linker configuration list
```powershell
-Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```
```output
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForSpringCloud.md b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForSpringCloud.md
index 8490fd6a14e4..d085b9a5eaac 100644
--- a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForSpringCloud.md
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForSpringCloud.md
@@ -1,6 +1,6 @@
### Example 1: Get spring cloud's linker configuration list
```powershell
-Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```
```output
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForWebApp.md b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForWebApp.md
index dbfeddec55e9..ec2e4a5adb39 100644
--- a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForWebApp.md
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationForWebApp.md
@@ -1,6 +1,6 @@
### Example 1: Get webapp's linker configuration list
```powershell
-Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
```
```output
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationName.md b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationName.md
new file mode 100644
index 000000000000..b07bf7823a5b
--- /dev/null
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerConfigurationName.md
@@ -0,0 +1,14 @@
+### Example 1: Get expected configuration names of difference connection
+```powershell
+Get-AzServiceLinkerConfigurationName
+```
+
+```output
+systemAssignedIdentity none {Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.Config…
+userAssignedIdentity none {Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.Config…
+servicePrincipalSecret none {Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.Config…
+secret none {Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.Config…
+accessKey none {Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.Config…
+```
+
+Get the expected configuration names of connection with each auth type and client type.
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerForContainerApp.md b/src/ServiceLinker/examples/Get-AzServiceLinkerForContainerApp.md
index a7395e11bf28..003726854a34 100644
--- a/src/ServiceLinker/examples/Get-AzServiceLinkerForContainerApp.md
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerForContainerApp.md
@@ -1,6 +1,6 @@
### Example 1: List all linkers in a container app
```powershell
-Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Scope 'simple-hello-world-container'
+Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group
```
```output
@@ -16,12 +16,12 @@ List all linkers in the container app
### Example 2: Get linker by name
```powershell
-Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```
```output
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.SecretAuthInfo
+ s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
@@ -38,7 +38,7 @@ SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.AzureResource
+ s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
@@ -52,12 +52,12 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.App/containerApps/servicelinker-app'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForContainerApp |fl
+$identity | Get-AzServiceLinkerForContainerApp | Format-List
```
```output
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.SecretAuthInfo
+ s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
@@ -74,7 +74,7 @@ SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.AzureResource
+ s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerForSpringCloud.md b/src/ServiceLinker/examples/Get-AzServiceLinkerForSpringCloud.md
index feedf63cf5a5..ec111a4bdab4 100644
--- a/src/ServiceLinker/examples/Get-AzServiceLinkerForSpringCloud.md
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerForSpringCloud.md
@@ -16,12 +16,12 @@ List all linkers in a spring cloud app's deployment
### Example 2: Get linker by name
```powershell
-Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```
```output
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.SecretAuthInfo
+ s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
@@ -38,7 +38,7 @@ SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.AzureResource
+ s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
@@ -52,12 +52,12 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForSpringCloud |fl
+$identity | Get-AzServiceLinkerForSpringCloud | Format-List
```
```output
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.SecretAuthInfo
+ s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
@@ -74,7 +74,7 @@ SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.AzureResource
+ s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
diff --git a/src/ServiceLinker/examples/Get-AzServiceLinkerForWebApp.md b/src/ServiceLinker/examples/Get-AzServiceLinkerForWebApp.md
index 40def6f8ee92..8d2c2efb1566 100644
--- a/src/ServiceLinker/examples/Get-AzServiceLinkerForWebApp.md
+++ b/src/ServiceLinker/examples/Get-AzServiceLinkerForWebApp.md
@@ -16,12 +16,12 @@ List all linkers in the webapp
### Example 2: Get linker by name
```powershell
-Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```
```output
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.SecretAuthInfo
+ s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
@@ -38,7 +38,7 @@ SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.AzureResource
+ s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
@@ -52,12 +52,12 @@ $identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webapp'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForWebApp |fl
+$identity | Get-AzServiceLinkerForWebApp | Format-List
```
```output
AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.SecretAuthInfo
+ s.Api20221101Preview.SecretAuthInfo
ClientType : dotnet
Id : /subscriptions/00000000-0000-0000-0000-000000000000/re
sourceGroups/servicelinker-test-group/providers/
@@ -74,7 +74,7 @@ SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
TargetService : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Model
- s.Api20220501.AzureResource
+ s.Api20221101Preview.AzureResource
Type : microsoft.servicelinker/linkers
VNetSolutionType : serviceEndpoint
diff --git a/src/ServiceLinker/examples/Test-AzServiceLinkerForContainerApp.md b/src/ServiceLinker/examples/Test-AzServiceLinkerForContainerApp.md
index 22cbcd179bdc..e3a3794155e9 100644
--- a/src/ServiceLinker/examples/Test-AzServiceLinkerForContainerApp.md
+++ b/src/ServiceLinker/examples/Test-AzServiceLinkerForContainerApp.md
@@ -1,6 +1,6 @@
### Example 1: Test Linker
```powershell
-Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```
```output
diff --git a/src/ServiceLinker/examples/Test-AzServiceLinkerForSpringCloud.md b/src/ServiceLinker/examples/Test-AzServiceLinkerForSpringCloud.md
index 06cbad1e8e96..3228b471cfd4 100644
--- a/src/ServiceLinker/examples/Test-AzServiceLinkerForSpringCloud.md
+++ b/src/ServiceLinker/examples/Test-AzServiceLinkerForSpringCloud.md
@@ -1,6 +1,6 @@
### Example 1: Test Linker
```powershell
-Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```
```output
diff --git a/src/ServiceLinker/examples/Test-AzServiceLinkerForWebApp.md b/src/ServiceLinker/examples/Test-AzServiceLinkerForWebApp.md
index ed9db0172aba..b8380164689c 100644
--- a/src/ServiceLinker/examples/Test-AzServiceLinkerForWebApp.md
+++ b/src/ServiceLinker/examples/Test-AzServiceLinkerForWebApp.md
@@ -1,6 +1,6 @@
### Example 1: Test Linker
```powershell
-Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
```
```output
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1
index 64a123ff62ea..11dba22b0881 100644
--- a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForContainerApp.ps1
@@ -20,15 +20,15 @@ list source configurations for a linker in container app.
.Description
list source configurations for a linker in container app.
.Example
-Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration
.Link
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)]
@@ -120,7 +120,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
index 8d838b5767af..793645453462 100644
--- a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForSpringCloud.ps1
@@ -20,15 +20,15 @@ list source configurations for a linker in spring cloud.
.Description
list source configurations for a linker in spring cloud.
.Example
-Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration
.Link
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)]
@@ -133,7 +133,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1
index b3e966083a46..10d69695e35b 100644
--- a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationForWebApp.ps1
@@ -20,15 +20,15 @@ list source configurations for a linker in webapp.
.Description
list source configurations for a linker in webapp.
.Example
-Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration
.Link
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)]
@@ -120,7 +120,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationName.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationName.ps1
new file mode 100644
index 000000000000..ed05175c804e
--- /dev/null
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerConfigurationName.ps1
@@ -0,0 +1,166 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Lists the configuration names generated by Service Connector for all target, client types, auth types.
+.Description
+Lists the configuration names generated by Service Connector for all target, client types, auth types.
+.Example
+Get-AzServiceLinkerConfigurationName
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationNameItem
+.Link
+https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationname
+#>
+function Get-AzServiceLinkerConfigurationName {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationNameItem])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Query')]
+ [System.String]
+ # OData filter options.
+ ${Filter},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Query')]
+ [System.String]
+ # OData skipToken option for pagination.
+ ${SkipToken},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ List = 'Az.ServiceLinker.private\Get-AzServiceLinkerConfigurationName_List';
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerForContainerApp.ps1
index f8178ad6eacc..e94d5ccdac04 100644
--- a/src/ServiceLinker/exports/Get-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerForContainerApp.ps1
@@ -20,34 +20,39 @@ Returns Linker resource for a given name in container app.
.Description
Returns Linker resource for a given name in container app.
.Example
-Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Scope 'simple-hello-world-container'
+Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group
.Example
-Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Example
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.App/containerApps/servicelinker-app'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForContainerApp |fl
+$identity | Get-AzServiceLinkerForContainerApp | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
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='List')]
@@ -150,7 +155,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerForSpringCloud.ps1
index f0fc6a6990cb..e84477991cff 100644
--- a/src/ServiceLinker/exports/Get-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerForSpringCloud.ps1
@@ -22,32 +22,37 @@ Returns Linker resource for a given name in spring cloud.
.Example
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -DeploymentName "default"
.Example
-Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Example
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForSpringCloud |fl
+$identity | Get-AzServiceLinkerForSpringCloud | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
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='List')]
@@ -165,7 +170,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Get-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/exports/Get-AzServiceLinkerForWebApp.ps1
index c289d5427791..e41a3ea3e230 100644
--- a/src/ServiceLinker/exports/Get-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/exports/Get-AzServiceLinkerForWebApp.ps1
@@ -22,32 +22,37 @@ Returns Linker resource for a given name in webapp.
.Example
Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group
.Example
-Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Example
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webapp'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForWebApp |fl
+$identity | Get-AzServiceLinkerForWebApp | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
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='List')]
@@ -150,7 +155,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerAzureResourceObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerAzureResourceObject.ps1
index 5b9ea86156fd..0c8e16636d7a 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerAzureResourceObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerAzureResourceObject.ps1
@@ -23,12 +23,12 @@ Create an in-memory object for AzureResource.
New-AzServiceLinkerAzureResourceObject -Id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv -ConnectAsKubernetesCsiDriver 1
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerazureresourceobject
#>
function New-AzServiceLinkerAzureResourceObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -62,7 +62,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerConfluentBootstrapServerObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerConfluentBootstrapServerObject.ps1
index 6db49bd353f9..5572210df2ea 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerConfluentBootstrapServerObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerConfluentBootstrapServerObject.ps1
@@ -23,12 +23,12 @@ Create an in-memory object for ConfluentBootstrapServer.
New-AzServiceLinkerConfluentBootstrapServerObject -Endpoint "pkc-xxxx.eastus.azure.confluent.cloud:9092"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentbootstrapserverobject
#>
function New-AzServiceLinkerConfluentBootstrapServerObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -55,7 +55,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1
index 3b6ed567b51b..a1ea400cb68c 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1
@@ -23,12 +23,12 @@ Create an in-memory object for ConfluentSchemaRegistry.
New-AzServiceLinkerConfluentSchemaRegistryObject -Endpoint "https://psrc-xxxx.westus2.azure.confluent.cloud"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentschemaregistryobject
#>
function New-AzServiceLinkerConfluentSchemaRegistryObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -55,7 +55,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerForContainerApp.ps1
index 1602033c6bd6..5a9091497fd3 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerForContainerApp.ps1
@@ -27,7 +27,7 @@ $authInfo=New-AzServiceLinkerSecretAuthInfoObject -Name testUser -SecretValue **
New-AzServiceLinkerForContainerApp -TargetService $target -AuthInfo $auth -ClientType dotnet -LinkerName testLinker -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-linux-group -Scope 'simple-hello-world-container'
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -42,7 +42,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforcontainerapp
#>
function New-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -67,20 +67,14 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [System.String]
- # connection scope in source service.
- ${Scope},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -93,12 +87,84 @@ param(
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # connection scope in source service.
+ ${Scope},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -196,7 +262,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerForSpringCloud.ps1
index 17c75dfdeb05..002048ff2a97 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerForSpringCloud.ps1
@@ -29,7 +29,7 @@ New-AzServiceLinkerForSpringCloud -TargetService $target -AuthInfo $auth -Client
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -44,7 +44,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforspringcloud
#>
function New-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -69,14 +69,14 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -89,6 +89,66 @@ param(
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
@@ -101,6 +161,12 @@ param(
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -211,7 +277,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerForWebApp.ps1
index fc290b985424..466bf4013876 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerForWebApp.ps1
@@ -27,7 +27,7 @@ $authInfo=New-AzServiceLinkerSecretAuthInfoObject -Name testUser -SecretValue **
New-AzServiceLinkerForWebApp -TargetService $target -AuthInfo $auth -ClientType dotnet -LinkerName testLinker -WebApp servicelinker-app -ResourceGroupName servicelinker-test-group
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -42,7 +42,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforwebapp
#>
function New-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -67,14 +67,14 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -87,6 +87,66 @@ param(
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
@@ -99,6 +159,12 @@ param(
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -197,7 +263,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1
index 90737ed7ce85..7c394a7b0d60 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerSecretAuthInfoObject.ps1
@@ -27,12 +27,12 @@ New-AzServiceLinkerSecretAuthInfoObject -Name user -SecretKeyVaultUri "https://s
New-AzServiceLinkerSecretAuthInfoObject -Name user -SecretNameInKeyVault test-secret
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkersecretauthinfoobject
#>
function New-AzServiceLinkerSecretAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
@@ -43,7 +43,7 @@ param(
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISecretInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISecretInfoBase]
# Password or key vault secret for secret auth.
# To construct, see NOTES section for SECRETINFO properties and create a hash table.
${SecretInfo},
@@ -84,7 +84,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1
index d0e12925f6e6..d8b4877c36c2 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerServicePrincipalSecretAuthInfoObject.ps1
@@ -23,12 +23,12 @@ Create an in-memory object for ServicePrincipalSecretAuthInfo.
New-AzServiceLinkerServicePrincipalSecretAuthInfoObject -ClientId 00000000-0000-0000-0000-000000000000 -PrincipalId 00000000-0000-0000-0000-000000000000 -Secret secret
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerserviceprincipalsecretauthinfoobject
#>
function New-AzServiceLinkerServicePrincipalSecretAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -67,7 +67,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1
index 40f4ae092d69..086112f730b1 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject.ps1
@@ -23,12 +23,12 @@ Create an in-memory object for SystemAssignedIdentityAuthInfo.
New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkersystemassignedidentityauthinfoobject
#>
function New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(DontShow)]
@@ -49,7 +49,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1 b/src/ServiceLinker/exports/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1
index 58d8b44cd8df..060f7937b068 100644
--- a/src/ServiceLinker/exports/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1
+++ b/src/ServiceLinker/exports/New-AzServiceLinkerUserAssignedIdentityAuthInfoObject.ps1
@@ -23,12 +23,12 @@ Create an in-memory object for UserAssignedIdentityAuthInfo.
New-AzServiceLinkerUserAssignedIdentityAuthInfoObject -ClientId 00000000-0000-0000-0000-000000000000 -SubscriptionId 00000000-0000-0000-0000-000000000000
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkeruserassignedidentityauthinfoobject
#>
function New-AzServiceLinkerUserAssignedIdentityAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
@@ -61,7 +61,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/ProxyCmdletDefinitions.ps1 b/src/ServiceLinker/exports/ProxyCmdletDefinitions.ps1
index 0954dbd53ce2..2bc680499312 100644
--- a/src/ServiceLinker/exports/ProxyCmdletDefinitions.ps1
+++ b/src/ServiceLinker/exports/ProxyCmdletDefinitions.ps1
@@ -14,21 +14,172 @@
# is regenerated.
# ----------------------------------------------------------------------------------
+<#
+.Synopsis
+Lists the configuration names generated by Service Connector for all target, client types, auth types.
+.Description
+Lists the configuration names generated by Service Connector for all target, client types, auth types.
+.Example
+Get-AzServiceLinkerConfigurationName
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationNameItem
+.Link
+https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationname
+#>
+function Get-AzServiceLinkerConfigurationName {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationNameItem])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Query')]
+ [System.String]
+ # OData filter options.
+ ${Filter},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Query')]
+ [System.String]
+ # OData skipToken option for pagination.
+ ${SkipToken},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ List = 'Az.ServiceLinker.private\Get-AzServiceLinkerConfigurationName_List';
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
+
<#
.Synopsis
list source configurations for a linker in container app.
.Description
list source configurations for a linker in container app.
.Example
-Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForContainerApp -ContainerApp servicelinker-containerapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration
.Link
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)]
@@ -120,7 +271,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -194,15 +345,15 @@ list source configurations for a linker in spring cloud.
.Description
list source configurations for a linker in spring cloud.
.Example
-Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration
.Link
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)]
@@ -307,7 +458,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -384,15 +535,15 @@ list source configurations for a linker in webapp.
.Description
list source configurations for a linker in webapp.
.Example
-Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker |fl
+Get-AzServiceLinkerConfigurationForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -LinkerName postgresql_linker | Format-List
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration
.Link
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)]
@@ -484,7 +635,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -558,34 +709,39 @@ Returns Linker resource for a given name in container app.
.Description
Returns Linker resource for a given name in container app.
.Example
-Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Scope 'simple-hello-world-container'
+Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group
.Example
-Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Example
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.App/containerApps/servicelinker-app'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForContainerApp |fl
+$identity | Get-AzServiceLinkerForContainerApp | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
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='List')]
@@ -688,7 +844,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -766,32 +922,37 @@ Returns Linker resource for a given name in spring cloud.
.Example
Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -ResourceGroupName servicelinker-test-group -DeploymentName "default"
.Example
-Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Example
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForSpringCloud |fl
+$identity | Get-AzServiceLinkerForSpringCloud | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
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='List')]
@@ -909,7 +1070,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -990,32 +1151,37 @@ Returns Linker resource for a given name in webapp.
.Example
Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group
.Example
-Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Get-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Example
$identity = @{
ResourceUri = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webapp'
LinkerName = 'postgresql_connection'}
-$identity | Get-AzServiceLinkerForWebApp |fl
+$identity | Get-AzServiceLinkerForWebApp | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
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='List')]
@@ -1118,7 +1284,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1197,12 +1363,12 @@ Create an in-memory object for AzureResource.
New-AzServiceLinkerAzureResourceObject -Id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv -ConnectAsKubernetesCsiDriver 1
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerazureresourceobject
#>
function New-AzServiceLinkerAzureResourceObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -1236,7 +1402,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1313,12 +1479,12 @@ Create an in-memory object for ConfluentBootstrapServer.
New-AzServiceLinkerConfluentBootstrapServerObject -Endpoint "pkc-xxxx.eastus.azure.confluent.cloud:9092"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentbootstrapserverobject
#>
function New-AzServiceLinkerConfluentBootstrapServerObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -1345,7 +1511,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1422,12 +1588,12 @@ Create an in-memory object for ConfluentSchemaRegistry.
New-AzServiceLinkerConfluentSchemaRegistryObject -Endpoint "https://psrc-xxxx.westus2.azure.confluent.cloud"
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentschemaregistryobject
#>
function New-AzServiceLinkerConfluentSchemaRegistryObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -1454,7 +1620,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1535,7 +1701,7 @@ $authInfo=New-AzServiceLinkerSecretAuthInfoObject -Name testUser -SecretValue **
New-AzServiceLinkerForContainerApp -TargetService $target -AuthInfo $auth -ClientType dotnet -LinkerName testLinker -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-linux-group -Scope 'simple-hello-world-container'
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1550,7 +1716,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforcontainerapp
#>
function New-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -1575,20 +1741,14 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [System.String]
- # connection scope in source service.
- ${Scope},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -1601,12 +1761,84 @@ param(
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # connection scope in source service.
+ ${Scope},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -1704,7 +1936,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1793,7 +2025,7 @@ New-AzServiceLinkerForSpringCloud -TargetService $target -AuthInfo $auth -Client
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1808,7 +2040,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforspringcloud
#>
function New-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -1833,14 +2065,14 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -1853,6 +2085,66 @@ param(
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
@@ -1865,6 +2157,12 @@ param(
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -1975,7 +2273,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2065,7 +2363,7 @@ $authInfo=New-AzServiceLinkerSecretAuthInfoObject -Name testUser -SecretValue **
New-AzServiceLinkerForWebApp -TargetService $target -AuthInfo $auth -ClientType dotnet -LinkerName testLinker -WebApp servicelinker-app -ResourceGroupName servicelinker-test-group
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -2080,7 +2378,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforwebapp
#>
function New-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -2105,14 +2403,14 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -2125,6 +2423,66 @@ param(
# The application client type
${ClientType},
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional, indicate whether to apply configurations on source application.
+ # If enable, generate configurations and applied to the source application.
+ # Default is enable.
+ # If optOut, no configuration change will be made on source.
+ ${ConfigurationInfoAction},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
+ [System.Collections.Hashtable]
+ # A dictionary of additional configurations to be added.
+ # Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
+ ${ConfigurationInfoAdditionalConfiguration},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
+ [System.Collections.Hashtable]
+ # Optional.
+ # A dictionary of default key name and customized key name mapping.
+ # If not specified, default key name will be used for generate configurations
+ ${ConfigurationInfoCustomizedKey},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow Azure services to access the target service if true.
+ ${FirewallRuleAzureService},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
+ # Allow caller client IP to access the target service if true.
+ # the property is used when connecting local application to target service.
+ ${FirewallRuleCallerClientIP},
+
+ [Parameter()]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String[]]
+ # 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.
+ ${FirewallRuleIPRange},
+
+ [Parameter()]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
+ # Optional.
+ # Indicates public network solution.
+ # If enable, enable public network access of target service with best try.
+ # Default is enable.
+ # If optOut, opt out public network access configuration.
+ ${PublicNetworkSolutionAction},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
[System.String]
@@ -2137,6 +2495,12 @@ param(
# The key vault id to store secret
${SecretStoreKeyVaultId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
+ [System.String]
+ # The key vault secret name to store secret, only valid when storing one secret
+ ${SecretStoreKeyVaultSecretName},
+
[Parameter()]
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -2235,7 +2599,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2322,12 +2686,12 @@ New-AzServiceLinkerSecretAuthInfoObject -Name user -SecretKeyVaultUri "https://s
New-AzServiceLinkerSecretAuthInfoObject -Name user -SecretNameInKeyVault test-secret
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkersecretauthinfoobject
#>
function New-AzServiceLinkerSecretAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SecretAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SecretAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
@@ -2338,7 +2702,7 @@ param(
[Parameter(DontShow)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISecretInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISecretInfoBase]
# Password or key vault secret for secret auth.
# To construct, see NOTES section for SECRETINFO properties and create a hash table.
${SecretInfo},
@@ -2379,7 +2743,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2456,12 +2820,12 @@ Create an in-memory object for ServicePrincipalSecretAuthInfo.
New-AzServiceLinkerServicePrincipalSecretAuthInfoObject -ClientId 00000000-0000-0000-0000-000000000000 -PrincipalId 00000000-0000-0000-0000-000000000000 -Secret secret
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerserviceprincipalsecretauthinfoobject
#>
function New-AzServiceLinkerServicePrincipalSecretAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ServicePrincipalSecretAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ServicePrincipalSecretAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
@@ -2500,7 +2864,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2577,12 +2941,12 @@ Create an in-memory object for SystemAssignedIdentityAuthInfo.
New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkersystemassignedidentityauthinfoobject
#>
function New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.SystemAssignedIdentityAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.SystemAssignedIdentityAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(DontShow)]
@@ -2603,7 +2967,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2680,12 +3044,12 @@ Create an in-memory object for UserAssignedIdentityAuthInfo.
New-AzServiceLinkerUserAssignedIdentityAuthInfoObject -ClientId 00000000-0000-0000-0000-000000000000 -SubscriptionId 00000000-0000-0000-0000-000000000000
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo
.Link
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkeruserassignedidentityauthinfoobject
#>
function New-AzServiceLinkerUserAssignedIdentityAuthInfoObject {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.UserAssignedIdentityAuthInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.UserAssignedIdentityAuthInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
@@ -2718,7 +3082,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2804,9 +3168,14 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforcontainerapp
#>
@@ -2929,7 +3298,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -3016,13 +3385,18 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforspringcloud
#>
-function Remove-AzServiceLinkerForSpringcloud {
+function Remove-AzServiceLinkerForSpringCloud {
[OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
@@ -3154,7 +3528,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -3171,8 +3545,8 @@ begin {
}
$mapping = @{
- Delete = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringcloud';
- DeleteViaIdentity = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringcloud';
+ Delete = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringCloud';
+ DeleteViaIdentity = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringCloud';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('DeploymentName')) {
$PSBoundParameters['DeploymentName'] = "default"
@@ -3244,9 +3618,14 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforwebapp
#>
@@ -3369,7 +3748,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -3444,26 +3823,31 @@ Validate a link.
.Description
Validate a link in container app.
.Example
-Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforcontainerapp
#>
function Test-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
@@ -3575,7 +3959,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -3650,26 +4034,31 @@ Validate a link in spring cloud.
.Description
Validate a link in spring cloud.
.Example
-Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforspringcloud
#>
function Test-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
@@ -3794,7 +4183,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -3872,26 +4261,31 @@ Validate a link in webapp.
.Description
Validate a link in webapp.
.Example
-Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforwebapp
#>
function Test-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
@@ -4003,7 +4397,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -4085,7 +4479,7 @@ Update-AzServiceLinkerForContainerApp -ResourceGroupName servicelinker-test-linu
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -4095,9 +4489,14 @@ AUTHINFO : The authentication type.
AuthType : The authentication type.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
TARGETSERVICE : The target service properties
Type : The target service type.
@@ -4105,7 +4504,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforcontainerapp
#>
function Update-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -4136,7 +4535,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -4156,7 +4555,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -4263,7 +4662,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -4345,7 +4744,7 @@ Update-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -App
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -4355,9 +4754,14 @@ AUTHINFO : The authentication type.
AuthType : The authentication type.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
TARGETSERVICE : The target service properties
Type : The target service type.
@@ -4365,7 +4769,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforspringcloud
#>
function Update-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -4396,7 +4800,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -4410,7 +4814,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -4536,7 +4940,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -4621,7 +5025,7 @@ Update-AzServiceLinkerForWebApp -ResourceGroupName servicelinker-test-linux-grou
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -4631,9 +5035,14 @@ AUTHINFO : The authentication type.
AuthType : The authentication type.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
TARGETSERVICE : The target service properties
Type : The target service type.
@@ -4641,7 +5050,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforwebapp
#>
function Update-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -4672,7 +5081,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -4686,7 +5095,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -4799,7 +5208,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/README.md b/src/ServiceLinker/exports/README.md
index 0e8209403a94..b5959c261318 100644
--- a/src/ServiceLinker/exports/README.md
+++ b/src/ServiceLinker/exports/README.md
@@ -1,5 +1,5 @@
# Exports
-This directory contains the cmdlets *exported by* `Az.ServiceLinker`. No other cmdlets in this repository are directly exported. What that means is the `Az.ServiceLinker` module will run [Export-ModuleMember](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/export-modulemember) on the cmldets in this directory. The cmdlets in this directory are generated at **build-time**. Do not put any custom code, files, cmdlets, etc. into this directory. Please use `..\custom` for all custom implementation.
+This directory contains the cmdlets *exported by* `Az.ServiceLinker`. No other cmdlets in this repository are directly exported. What that means is the `Az.ServiceLinker` module will run [Export-ModuleMember](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/export-modulemember) on the cmldets in this directory. The cmdlets in this directory are generated at **build-time**. Do not put any custom code, files, cmdlets, etc. into this directory. Please use `..\custom` for all custom implementation.
## Info
- Modifiable: no
diff --git a/src/ServiceLinker/exports/Remove-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/exports/Remove-AzServiceLinkerForContainerApp.ps1
index 8c5f3a172456..bd53094bbf2a 100644
--- a/src/ServiceLinker/exports/Remove-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/exports/Remove-AzServiceLinkerForContainerApp.ps1
@@ -32,9 +32,14 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforcontainerapp
#>
@@ -157,7 +162,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Remove-AzServiceLinkerForSpringcloud.ps1 b/src/ServiceLinker/exports/Remove-AzServiceLinkerForSpringcloud.ps1
index a6c4834503c0..3a96123afb66 100644
--- a/src/ServiceLinker/exports/Remove-AzServiceLinkerForSpringcloud.ps1
+++ b/src/ServiceLinker/exports/Remove-AzServiceLinkerForSpringcloud.ps1
@@ -32,13 +32,18 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforspringcloud
#>
-function Remove-AzServiceLinkerForSpringcloud {
+function Remove-AzServiceLinkerForSpringCloud {
[OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
@@ -170,7 +175,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -187,8 +192,8 @@ begin {
}
$mapping = @{
- Delete = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringcloud';
- DeleteViaIdentity = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringcloud';
+ Delete = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringCloud';
+ DeleteViaIdentity = 'Az.ServiceLinker.custom\Remove-AzServiceLinkerForSpringCloud';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('DeploymentName')) {
$PSBoundParameters['DeploymentName'] = "default"
diff --git a/src/ServiceLinker/exports/Remove-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/exports/Remove-AzServiceLinkerForWebApp.ps1
index d134c141c3d7..47b0b4d439a6 100644
--- a/src/ServiceLinker/exports/Remove-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/exports/Remove-AzServiceLinkerForWebApp.ps1
@@ -32,9 +32,14 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/remove-azservicelinkerforwebapp
#>
@@ -157,7 +162,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Test-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/exports/Test-AzServiceLinkerForContainerApp.ps1
index 0f8189166a84..fc287a854354 100644
--- a/src/ServiceLinker/exports/Test-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/exports/Test-AzServiceLinkerForContainerApp.ps1
@@ -20,26 +20,31 @@ Validate a link.
.Description
Validate a link in container app.
.Example
-Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForContainerApp -ContainerApp servicelinker-app -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforcontainerapp
#>
function Test-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
@@ -151,7 +156,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Test-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/exports/Test-AzServiceLinkerForSpringCloud.ps1
index 92d1e06c7e7e..314052d71cef 100644
--- a/src/ServiceLinker/exports/Test-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/exports/Test-AzServiceLinkerForSpringCloud.ps1
@@ -20,26 +20,31 @@ Validate a link in spring cloud.
.Description
Validate a link in spring cloud.
.Example
-Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -AppName appconfiguration -DeploymentName "default" -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforspringcloud
#>
function Test-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
@@ -164,7 +169,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Test-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/exports/Test-AzServiceLinkerForWebApp.ps1
index 7fb498ab8206..fd51648c9d16 100644
--- a/src/ServiceLinker/exports/Test-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/exports/Test-AzServiceLinkerForWebApp.ps1
@@ -20,26 +20,31 @@ Validate a link in webapp.
.Description
Validate a link in webapp.
.Example
-Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | fl
+Test-AzServiceLinkerForWebApp -WebApp servicelinker-webapp -ResourceGroupName servicelinker-test-group -Name postgresql_connection | Format-List
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
.Link
https://learn.microsoft.com/powershell/module/az.servicelinker/test-azservicelinkerforwebapp
#>
function Test-AzServiceLinkerForWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IValidateResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IValidateResult])]
[CmdletBinding(DefaultParameterSetName='Validate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Validate', Mandatory)]
@@ -151,7 +156,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Update-AzServiceLinkerForContainerApp.ps1 b/src/ServiceLinker/exports/Update-AzServiceLinkerForContainerApp.ps1
index 786cd437ae65..f7d39bf04742 100644
--- a/src/ServiceLinker/exports/Update-AzServiceLinkerForContainerApp.ps1
+++ b/src/ServiceLinker/exports/Update-AzServiceLinkerForContainerApp.ps1
@@ -27,7 +27,7 @@ Update-AzServiceLinkerForContainerApp -ResourceGroupName servicelinker-test-linu
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -37,9 +37,14 @@ AUTHINFO : The authentication type.
AuthType : The authentication type.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
TARGETSERVICE : The target service properties
Type : The target service type.
@@ -47,7 +52,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforcontainerapp
#>
function Update-AzServiceLinkerForContainerApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -78,7 +83,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -98,7 +103,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -205,7 +210,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Update-AzServiceLinkerForSpringCloud.ps1 b/src/ServiceLinker/exports/Update-AzServiceLinkerForSpringCloud.ps1
index baa31322a1cf..20359e2976a3 100644
--- a/src/ServiceLinker/exports/Update-AzServiceLinkerForSpringCloud.ps1
+++ b/src/ServiceLinker/exports/Update-AzServiceLinkerForSpringCloud.ps1
@@ -27,7 +27,7 @@ Update-AzServiceLinkerForSpringCloud -ServiceName servicelinker-springcloud -App
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -37,9 +37,14 @@ AUTHINFO : The authentication type.
AuthType : The authentication type.
INPUTOBJECT : Identity Parameter
+ [ConnectorName ]: The name of resource.
+ [DryrunName ]: The name of dryrun.
[Id ]: Resource identity path
[LinkerName ]: The name Linker resource.
+ [Location ]: The name of Azure region.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[ResourceUri ]: The fully qualified Azure Resource manager identifier of the resource to be connected.
+ [SubscriptionId ]: The ID of the target subscription.
TARGETSERVICE : The target service properties
Type : The target service type.
@@ -47,7 +52,7 @@ TARGETSERVICE : The target service properties
https://learn.microsoft.com/powershell/module/az.servicelinker/update-azservicelinkerforspringcloud
#>
function Update-AzServiceLinkerForSpringCloud {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -78,7 +83,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
# The authentication type.
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
${AuthInfo},
@@ -92,7 +97,7 @@ param(
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
+ [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
# The target service properties
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
${TargetService},
@@ -218,7 +223,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Runspace.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
diff --git a/src/ServiceLinker/exports/Update-AzServiceLinkerForWebApp.ps1 b/src/ServiceLinker/exports/Update-AzServiceLinkerForWebApp.ps1
index ecf820f60d13..291e4e65ef22 100644
--- a/src/ServiceLinker/exports/Update-AzServiceLinkerForWebApp.ps1
+++ b/src/ServiceLinker/exports/Update-AzServiceLinkerForWebApp.ps1
@@ -27,7 +27,7 @@ Update-AzServiceLinkerForWebApp -ResourceGroupName servicelinker-test-linux-grou
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.IServiceLinkerIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource
+Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -37,9 +37,14 @@ AUTHINFO : The authentication type.
AuthType