File tree Expand file tree Collapse file tree 2 files changed +2
-38
lines changed Expand file tree Collapse file tree 2 files changed +2
-38
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,7 @@ Task -Name "Set-Arm.Connections.ManagedApis.Eventhub.ManagedIdentity.AsArmObject
767
767
$tools = Get-PSFConfigValue - FullName PsLogicAppExtractor.Execution.Tools
768
768
769
769
$found = $false
770
- $conType = " servicebus "
770
+ $conType = " eventhubs "
771
771
772
772
$armObj = Get-TaskWorkObject
773
773
@@ -821,24 +821,6 @@ Task -Name "Set-Arm.Connections.ManagedApis.Eventhub.ManagedIdentity.AsArmObject
821
821
$apiObj.properties.displayName = " [parameters('$parmApicId ')]"
822
822
$apiObj.properties.parameterValueSet.values.namespaceEndpoint.value = $apiObj.properties.parameterValueSet.values.namespaceEndpoint.value.Replace (" '##NAMESPACE##'" , " parameters('$parmApicNamespace ')" )
823
823
824
- # $idPreSuf = Format-Name -Type "Connection" -Value "$($connectionObj.Name)"
825
- # $nsPreSuf = Format-Name -Type "Connection" -Prefix $Prefix -Suffix "_Namespace" -Value "$($connectionObj.Name)"
826
-
827
- # $armObj = Add-ArmParameter -InputObject $armObj -Name "$nsPreSuf" `
828
- # -Type "string" `
829
- # -Value "$resName" `
830
- # -Description "The name of the servicebus namespace. ($($connectionObj.Name))"
831
-
832
- # $armObj = Add-ArmParameter -InputObject $armObj -Name "$idPreSuf" `
833
- # -Type "string" `
834
- # -Value $conName `
835
- # -Description "The name / id of the ManagedApi connection object that is being utilized by the Logic App. Will be for the trigger and other actions that depend on connections."
836
-
837
- # # Update the api object properties
838
- # $apiObj.Name = "[parameters('$idPreSuf')]"
839
- # $apiObj.properties.displayName = "[parameters('$idPreSuf')]"
840
- # $apiObj.properties.parameterValueSet.values.namespaceEndpoint.value = $apiObj.properties.parameterValueSet.values.namespaceEndpoint.value.Replace("'##NAMESPACE##'", "parameters('$nsPreSuf')")
841
-
842
824
# Append the new resource to the ARM template
843
825
$armObj.resources += $apiObj
844
826
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Task -Name "Set-Arm.Connections.ManagedApis.Eventhub.ManagedIdentity.AsArmObject
19
19
$tools = Get-PSFConfigValue - FullName PsLogicAppExtractor.Execution.Tools
20
20
21
21
$found = $false
22
- $conType = " servicebus "
22
+ $conType = " eventhubs "
23
23
24
24
$armObj = Get-TaskWorkObject
25
25
@@ -73,24 +73,6 @@ Task -Name "Set-Arm.Connections.ManagedApis.Eventhub.ManagedIdentity.AsArmObject
73
73
$apiObj.properties.displayName = " [parameters('$parmApicId ')]"
74
74
$apiObj.properties.parameterValueSet.values.namespaceEndpoint.value = $apiObj.properties.parameterValueSet.values.namespaceEndpoint.value.Replace (" '##NAMESPACE##'" , " parameters('$parmApicNamespace ')" )
75
75
76
- # $idPreSuf = Format-Name -Type "Connection" -Value "$($connectionObj.Name)"
77
- # $nsPreSuf = Format-Name -Type "Connection" -Prefix $Prefix -Suffix "_Namespace" -Value "$($connectionObj.Name)"
78
-
79
- # $armObj = Add-ArmParameter -InputObject $armObj -Name "$nsPreSuf" `
80
- # -Type "string" `
81
- # -Value "$resName" `
82
- # -Description "The name of the servicebus namespace. ($($connectionObj.Name))"
83
-
84
- # $armObj = Add-ArmParameter -InputObject $armObj -Name "$idPreSuf" `
85
- # -Type "string" `
86
- # -Value $conName `
87
- # -Description "The name / id of the ManagedApi connection object that is being utilized by the Logic App. Will be for the trigger and other actions that depend on connections."
88
-
89
- # # Update the api object properties
90
- # $apiObj.Name = "[parameters('$idPreSuf')]"
91
- # $apiObj.properties.displayName = "[parameters('$idPreSuf')]"
92
- # $apiObj.properties.parameterValueSet.values.namespaceEndpoint.value = $apiObj.properties.parameterValueSet.values.namespaceEndpoint.value.Replace("'##NAMESPACE##'", "parameters('$nsPreSuf')")
93
-
94
76
# Append the new resource to the ARM template
95
77
$armObj.resources += $apiObj
96
78
You can’t perform that action at this time.
0 commit comments