You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/platform/gateway.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,7 @@ An error in step 3 means that the module wasn't imported. The error might occur
332
332
|`Get-OMSGatewayConfig`|Key |Gets the configuration of the service |`Get-OMSGatewayConfig`|
333
333
|`Set-OMSGatewayConfig`|Key (required) <br> Value |Changes the configuration of the service |`Set-OMSGatewayConfig -Name ListenPort -Value 8080`|
334
334
|`Get-OMSGatewayRelayProxy`||Gets the address of relay (upstream) proxy |`Get-OMSGatewayRelayProxy`|
335
-
|`Set-OMSGatewayRelayProxy`|Address<br> Username<br> Password |Sets the address (and credential) of relay (upstream) proxy |1. Set a relay proxy and credential:<br> `Set-OMSGatewayRelayProxy`<br>`-Address http://www.myproxy.com:8080`<br>`-Username user1 -Password 123` <br><br> 2. Set a relay proxy that doesn't need authentication: `Set-OMSGatewayRelayProxy`<br> `-Address http://www.myproxy.com:8080` <br><br> 3. Clear the relay proxy setting:<br> `Set-OMSGatewayRelayProxy` <br> `-Address ""`|
335
+
|`Set-OMSGatewayRelayProxy`|Address<br> Username<br> Password (secure string) |Sets the address (and credential) of relay (upstream) proxy |1. Set a relay proxy and credential:<br> `Set-OMSGatewayRelayProxy`<br>`-Address http://www.myproxy.com:8080`<br>`-Username user1 -Password 123` <br><br> 2. Set a relay proxy that doesn't need authentication: `Set-OMSGatewayRelayProxy`<br> `-Address http://www.myproxy.com:8080` <br><br> 3. Clear the relay proxy setting:<br> `Set-OMSGatewayRelayProxy` <br> `-Address ""`|
336
336
|`Get-OMSGatewayAllowedHost`||Gets the currently allowed host (only the locally configured allowed host, not automatically downloaded allowed hosts) |`Get-OMSGatewayAllowedHost`|
337
337
|`Add-OMSGatewayAllowedHost`|Host (required) |Adds the host to the allowed list |`Add-OMSGatewayAllowedHost -Host www.test.com`|
338
338
|`Remove-OMSGatewayAllowedHost`|Host (required) |Removes the host from the allowed list |`Remove-OMSGatewayAllowedHost`<br> `-Host www.test.com`|
0 commit comments