@@ -148,7 +148,9 @@ public static string Format(PSApplicationGatewaySslPredefinedPolicy policy, int
148
148
foreach ( var cipher in policy . CipherSuites )
149
149
{
150
150
output . AppendFormat ( "{0}{1}" , prefix , cipher ) ;
151
+ output . AppendLine ( ) ;
151
152
}
153
+ output . AppendLine ( ) ;
152
154
153
155
return output . ToString ( ) ;
154
156
}
@@ -167,31 +169,35 @@ public static string Format(PSApplicationGatewayAvailableSslOptions availableSsl
167
169
prefix = new string ( ' ' , depth * ApplicationGatewayPowerShellFormatting . TabSize ) ;
168
170
foreach ( var policy in availableSslOptions . PredefinedPolicies )
169
171
{
170
- output . AppendFormat ( "{0}{1}" , prefix , policy ) ;
172
+ output . AppendFormat ( "{0}{1}" , prefix , policy . Id ) ;
173
+ output . AppendLine ( ) ;
171
174
}
172
- depth -- ;
173
175
output . AppendLine ( ) ;
174
176
177
+ depth -- ;
178
+ prefix = new string ( ' ' , depth * ApplicationGatewayPowerShellFormatting . TabSize ) ;
175
179
output . AppendFormat ( "{0}{1}:" , prefix , "AvailableCipherSuites" ) ;
176
180
output . AppendLine ( ) ;
177
181
depth ++ ;
178
182
prefix = new string ( ' ' , depth * ApplicationGatewayPowerShellFormatting . TabSize ) ;
179
183
foreach ( var cipher in availableSslOptions . AvailableCipherSuites )
180
184
{
181
185
output . AppendFormat ( "{0}{1}" , prefix , cipher ) ;
186
+ output . AppendLine ( ) ;
182
187
}
183
- depth -- ;
184
188
output . AppendLine ( ) ;
185
189
190
+ depth -- ;
191
+ prefix = new string ( ' ' , depth * ApplicationGatewayPowerShellFormatting . TabSize ) ;
186
192
output . AppendFormat ( "{0}{1}:" , prefix , "AvailableProtocols" ) ;
187
193
output . AppendLine ( ) ;
188
194
depth ++ ;
189
195
prefix = new string ( ' ' , depth * ApplicationGatewayPowerShellFormatting . TabSize ) ;
190
196
foreach ( var protocol in availableSslOptions . AvailableProtocols )
191
197
{
192
198
output . AppendFormat ( "{0}{1}" , prefix , protocol ) ;
199
+ output . AppendLine ( ) ;
193
200
}
194
- depth -- ;
195
201
196
202
return output . ToString ( ) ;
197
203
}
0 commit comments