@@ -321,9 +321,7 @@ az nf device update \
321
321
--resource-group "NFResourceGroup" \
322
322
--location "eastus" \
323
323
--resource-name "network-device-name" \
324
- --network-device-sku "DeviceSku" \
325
- --network-device-role "CE" \
326
- --device-name "NFName-CR2-TOR1" \
324
+ --host-name "NFName-CR2-TOR1" \
327
325
--serial-number "12345"
328
326
```
329
327
@@ -332,12 +330,10 @@ Expected output:
332
330
``` json
333
331
{
334
332
"annotation" : null ,
335
- "deviceName " : " NFName-CR2-TOR1" ,
333
+ "hostName " : " NFName-CR2-TOR1" ,
336
334
"id" : " /subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/rgName/providers/Microsoft.ManagedNetworkfabric/networkDevices/NFName-CR2-TOR1" ,
337
335
"location" : " eastus" ,
338
336
"name" : " networkDevice1" ,
339
- "networkDeviceRole" : " TOR1" ,
340
- "networkDeviceSku" : " DeviceSku" ,
341
337
"networkRackId" : null ,
342
338
"provisioningState" : " Succeeded" ,
343
339
"resourceGroup" : " NFResourceGroupName" ,
@@ -369,12 +365,10 @@ Expected output:
369
365
``` json
370
366
{
371
367
"annotation" : null ,
372
- "deviceName " : " NFName-CR1-TOR1" ,
368
+ "hostName " : " NFName-CR1-TOR1" ,
373
369
"id" : " /subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/rgName/providers/Microsoft.ManagedNetworkfabric/networkDevices/NFName-CR1-TOR1" ,
374
370
"location" : " eastus" ,
375
371
"name" : " networkDevice1" ,
376
- "networkDeviceRole" : " TOR1" ,
377
- "networkDeviceSku" : " DeviceSku" ,
378
372
"networkRackId" : null ,
379
373
"provisioningState" : " Succeeded" ,
380
374
"resourceGroup" : " NFResourceGroupName" ,
@@ -393,12 +387,10 @@ Expected output:
393
387
},
394
388
{
395
389
"annotation" : null ,
396
- "deviceName " : " NFName-CR1-MgmtSwitch" ,
390
+ "hostName " : " NFName-CR1-MgmtSwitch" ,
397
391
"id" : " subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/rgName/providers/Microsoft.ManagedNetworkfabric/networkDevices/NFName-CR1-MgmtSwitch" ,
398
392
"location" : " eastus" ,
399
393
"name" : " Network device" ,
400
- "networkDeviceRole" : " MgmtSwitch" ,
401
- "networkDeviceSku" : " DeviceSku" ,
402
394
"networkRackId" : null ,
403
395
"provisioningState" : " Succeeded" ,
404
396
"resourceGroup" : " NFResourceGroupName" ,
@@ -428,12 +420,10 @@ Expected output:
428
420
``` json
429
421
{
430
422
"annotation" : null ,
431
- "deviceName " : " NFName-CR1-TOR1" ,
423
+ "hostName " : " NFName-CR1-TOR1" ,
432
424
"id" : " subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/rgName/providers/Microsoft.ManagedNetworkfabric/networkDevices/networkDevice1" ,
433
425
"location" : " eastus" ,
434
426
"name" : " networkDevice1" ,
435
- "networkDeviceRole" : " TOR1" ,
436
- "networkDeviceSku" : " DeviceSku" ,
437
427
"networkRackId" : null ,
438
428
"provisioningState" : " Succeeded" ,
439
429
"resourceGroup" : " NFResourceGroupName" ,
0 commit comments