CmdID / az / az networkfabric / az networkfabric interface
az networkfabric interface update-admin-state
Update the admin state of the Network Interface. Azure CLI extensions reference
1 example 4 options Its page in the Azure CLI extensions reference
Examples
Update admin state of Network Interface
az networkfabric interface update-admin-state -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" --state "Enable"Identify-gName of resource group.--network-device-nameName of the Network Device.--resource-nameName of the Network Interface.--stateAdministrative state.Options
--network-device-name, --deviceName of the Network Device.--resource-idsNetwork Fabrics or Network Rack resource Id.--resource-nameName of the Network Interface.--stateAdministrative state.