az sphere device network proxy
Note
This reference is part of the azure-sphere extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az sphere device network proxy command. Learn more about extensions.
Manage proxy address use for network connection.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sphere device network proxy apply |
Configure the network proxy on the attached device. |
Extension | GA |
az sphere device network proxy delete |
Delete proxy connection on the attached device. |
Extension | GA |
az sphere device network proxy disable |
Disable network proxy on the attached device. |
Extension | GA |
az sphere device network proxy enable |
Enable network proxy on the attached device. |
Extension | GA |
az sphere device network proxy show |
Show proxy connection on the attached device. |
Extension | GA |
az sphere device network proxy apply
Configure the network proxy on the attached device.
az sphere device network proxy apply --address
--authentication
--port
[--device]
[--enable]
[--no-proxy-addresses]
[--password]
[--username]
Examples
Apply a Network Proxy with Basic Authentication
az sphere device network proxy apply --address contoso.com --authentication basic --port 8080 --username ExampleUsername --password ExamplePassword --no-proxy-addresses badcontoso.com badcontoso2.com --enable
Apply a Network Proxy with Anonymous Authentication
az sphere device network proxy apply --address contoso.com --authentication anonymous --port 8080 --enable --device 192.168.35.2
Required Parameters
The network address of the proxy.
If the proxy requires a user name and password, set this to basic, otherwise anonymous. Allowed values are anonymous, basic.
The port on the network address to be used.
Optional Parameters
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
Enable the network proxy configuration on the attached device.
Array of space-separated network addresses the device should avoid for proxy connection.
For Basic Authentication, password used for proxy authentication.
For Basic Authentication, username used for proxy authentication.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sphere device network proxy delete
Delete proxy connection on the attached device.
az sphere device network proxy delete [--device]
Examples
Delete proxy connection on the attached device.
az sphere device network proxy delete
Optional Parameters
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sphere device network proxy disable
Disable network proxy on the attached device.
az sphere device network proxy disable [--device]
Examples
Disable network proxy on the attached device.
az sphere device network proxy disable
Optional Parameters
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of the device.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sphere device network proxy enable
Enable network proxy on the attached device.
az sphere device network proxy enable [--device]
Examples
Enable network proxy on the attached device.
az sphere device network proxy enable
Optional Parameters
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of the device.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sphere device network proxy show
Show proxy connection on the attached device.
az sphere device network proxy show [--device]
Examples
Show proxy connection on the attached device.
az sphere device network proxy show --device <DeviceIdValue>
Optional Parameters
The device to run the command on when multiple devices are attached. Specify the ID, IP address, or Local Connection ID of an attached device.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.