From d058313ad1644fa25f8de2b4c8fcb43affb0164f Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Mon, 12 Jun 2023 19:46:07 +0530 Subject: [PATCH 1/8] ManagedNetworkFabric 2023-02-01-preview Generated codes --- linter_exclusions.yml | 12 + src/managednetworkfabric/HISTORY.rst | 8 + src/managednetworkfabric/README.md | 5 + .../azext_managednetworkfabric/__init__.py | 42 + .../azext_managednetworkfabric/_help.py | 11 + .../azext_managednetworkfabric/_params.py | 13 + .../aaz/__init__.py | 6 + .../aaz/latest/__init__.py | 6 + .../aaz/latest/nf/__cmd_group.py | 23 + .../aaz/latest/nf/__init__.py | 11 + .../aaz/latest/nf/acl/__cmd_group.py | 23 + .../aaz/latest/nf/acl/__init__.py | 15 + .../aaz/latest/nf/acl/_create.py | 384 ++++ .../aaz/latest/nf/acl/_delete.py | 139 ++ .../aaz/latest/nf/acl/_list.py | 432 +++++ .../aaz/latest/nf/acl/_show.py | 254 +++ .../aaz/latest/nf/controller/__cmd_group.py | 23 + .../aaz/latest/nf/controller/__init__.py | 16 + .../aaz/latest/nf/controller/_create.py | 483 ++++++ .../aaz/latest/nf/controller/_delete.py | 163 ++ .../aaz/latest/nf/controller/_list.py | 538 ++++++ .../aaz/latest/nf/controller/_show.py | 317 ++++ .../aaz/latest/nf/controller/_wait.py | 313 ++++ .../aaz/latest/nf/device/__cmd_group.py | 23 + .../aaz/latest/nf/device/__init__.py | 16 + .../aaz/latest/nf/device/_delete.py | 163 ++ .../aaz/latest/nf/device/_list.py | 401 +++++ .../aaz/latest/nf/device/_show.py | 237 +++ .../aaz/latest/nf/device/_update.py | 310 ++++ .../aaz/latest/nf/device/_wait.py | 233 +++ .../aaz/latest/nf/devicesku/__cmd_group.py | 23 + .../aaz/latest/nf/devicesku/__init__.py | 13 + .../aaz/latest/nf/devicesku/_list.py | 272 +++ .../aaz/latest/nf/devicesku/_show.py | 272 +++ .../latest/nf/externalnetwork/__cmd_group.py | 23 + .../aaz/latest/nf/externalnetwork/__init__.py | 17 + .../aaz/latest/nf/externalnetwork/_create.py | 469 +++++ .../aaz/latest/nf/externalnetwork/_delete.py | 173 ++ .../aaz/latest/nf/externalnetwork/_list.py | 303 ++++ .../aaz/latest/nf/externalnetwork/_show.py | 305 ++++ .../nf/externalnetwork/_update_admin_state.py | 204 +++ .../aaz/latest/nf/externalnetwork/_wait.py | 301 ++++ .../aaz/latest/nf/fabric/__cmd_group.py | 23 + .../aaz/latest/nf/fabric/__init__.py | 18 + .../aaz/latest/nf/fabric/_create.py | 825 +++++++++ .../aaz/latest/nf/fabric/_delete.py | 163 ++ .../aaz/latest/nf/fabric/_deprovision.py | 151 ++ .../aaz/latest/nf/fabric/_list.py | 735 ++++++++ .../aaz/latest/nf/fabric/_provision.py | 151 ++ .../aaz/latest/nf/fabric/_show.py | 448 +++++ .../aaz/latest/nf/fabric/_wait.py | 444 +++++ .../aaz/latest/nf/fabricsku/__cmd_group.py | 23 + .../aaz/latest/nf/fabricsku/__init__.py | 13 + .../aaz/latest/nf/fabricsku/_list.py | 214 +++ .../aaz/latest/nf/fabricsku/_show.py | 214 +++ .../aaz/latest/nf/interface/__cmd_group.py | 23 + .../aaz/latest/nf/interface/__init__.py | 16 + .../aaz/latest/nf/interface/_delete.py | 173 ++ .../aaz/latest/nf/interface/_list.py | 240 +++ .../aaz/latest/nf/interface/_show.py | 242 +++ .../nf/interface/_update_admin_state.py | 204 +++ .../aaz/latest/nf/interface/_wait.py | 238 +++ .../latest/nf/internalnetwork/__cmd_group.py | 23 + .../aaz/latest/nf/internalnetwork/__init__.py | 17 + .../aaz/latest/nf/internalnetwork/_create.py | 753 ++++++++ .../aaz/latest/nf/internalnetwork/_delete.py | 173 ++ .../aaz/latest/nf/internalnetwork/_list.py | 417 +++++ .../aaz/latest/nf/internalnetwork/_show.py | 419 +++++ .../nf/internalnetwork/_update_admin_state.py | 204 +++ .../aaz/latest/nf/internalnetwork/_wait.py | 415 +++++ .../aaz/latest/nf/ipcommunity/__cmd_group.py | 23 + .../aaz/latest/nf/ipcommunity/__init__.py | 16 + .../aaz/latest/nf/ipcommunity/_create.py | 338 ++++ .../aaz/latest/nf/ipcommunity/_delete.py | 163 ++ .../aaz/latest/nf/ipcommunity/_list.py | 389 +++++ .../aaz/latest/nf/ipcommunity/_show.py | 231 +++ .../aaz/latest/nf/ipcommunity/_wait.py | 227 +++ .../nf/ipextendedcommunity/__cmd_group.py | 23 + .../latest/nf/ipextendedcommunity/__init__.py | 16 + .../latest/nf/ipextendedcommunity/_create.py | 314 ++++ .../latest/nf/ipextendedcommunity/_delete.py | 163 ++ .../latest/nf/ipextendedcommunity/_list.py | 377 ++++ .../latest/nf/ipextendedcommunity/_show.py | 225 +++ .../latest/nf/ipextendedcommunity/_wait.py | 221 +++ .../aaz/latest/nf/ipprefix/__cmd_group.py | 23 + .../aaz/latest/nf/ipprefix/__init__.py | 16 + .../aaz/latest/nf/ipprefix/_create.py | 368 ++++ .../aaz/latest/nf/ipprefix/_delete.py | 163 ++ .../aaz/latest/nf/ipprefix/_list.py | 405 +++++ .../aaz/latest/nf/ipprefix/_show.py | 239 +++ .../aaz/latest/nf/ipprefix/_wait.py | 235 +++ .../aaz/latest/nf/l2domain/__cmd_group.py | 23 + .../aaz/latest/nf/l2domain/__init__.py | 17 + .../aaz/latest/nf/l2domain/_create.py | 322 ++++ .../aaz/latest/nf/l2domain/_delete.py | 163 ++ .../aaz/latest/nf/l2domain/_list.py | 397 +++++ .../aaz/latest/nf/l2domain/_show.py | 235 +++ .../latest/nf/l2domain/_update_admin_state.py | 194 +++ .../aaz/latest/nf/l2domain/_wait.py | 231 +++ .../aaz/latest/nf/l3domain/__cmd_group.py | 23 + .../aaz/latest/nf/l3domain/__init__.py | 17 + .../aaz/latest/nf/l3domain/_create.py | 448 +++++ .../aaz/latest/nf/l3domain/_delete.py | 163 ++ .../aaz/latest/nf/l3domain/_list.py | 485 ++++++ .../aaz/latest/nf/l3domain/_show.py | 279 +++ .../latest/nf/l3domain/_update_admin_state.py | 194 +++ .../aaz/latest/nf/l3domain/_wait.py | 275 +++ .../aaz/latest/nf/nni/__cmd_group.py | 23 + .../aaz/latest/nf/nni/__init__.py | 16 + .../aaz/latest/nf/nni/_create.py | 427 +++++ .../aaz/latest/nf/nni/_delete.py | 173 ++ .../aaz/latest/nf/nni/_list.py | 280 +++ .../aaz/latest/nf/nni/_show.py | 282 +++ .../aaz/latest/nf/nni/_wait.py | 278 +++ .../aaz/latest/nf/rack/__cmd_group.py | 23 + .../aaz/latest/nf/rack/__init__.py | 16 + .../aaz/latest/nf/rack/_create.py | 313 ++++ .../aaz/latest/nf/rack/_delete.py | 151 ++ .../aaz/latest/nf/rack/_list.py | 384 ++++ .../aaz/latest/nf/rack/_show.py | 230 +++ .../aaz/latest/nf/rack/_wait.py | 226 +++ .../aaz/latest/nf/racksku/__cmd_group.py | 23 + .../aaz/latest/nf/racksku/__init__.py | 13 + .../aaz/latest/nf/racksku/_list.py | 226 +++ .../aaz/latest/nf/racksku/_show.py | 226 +++ .../aaz/latest/nf/routepolicy/__cmd_group.py | 23 + .../aaz/latest/nf/routepolicy/__init__.py | 16 + .../aaz/latest/nf/routepolicy/_create.py | 654 +++++++ .../aaz/latest/nf/routepolicy/_delete.py | 163 ++ .../aaz/latest/nf/routepolicy/_list.py | 575 ++++++ .../aaz/latest/nf/routepolicy/_show.py | 324 ++++ .../aaz/latest/nf/routepolicy/_wait.py | 320 ++++ .../azext_metadata.json | 4 + .../azext_managednetworkfabric/commands.py | 15 + .../azext_managednetworkfabric/custom.py | 14 + .../tests/__init__.py | 6 + .../tests/latest/__init__.py | 6 + .../tests/latest/config.ini | 126 ++ .../tests/latest/config.py | 41 + .../recordings/test_Device_scenario1.yaml | 198 +++ .../recordings/test_Interface_scenario1.yaml | 1312 ++++++++++++++ .../recordings/test_Rack_scenario1.yaml | 142 ++ .../test_externalnetwork_scenario1.yaml | 821 +++++++++ .../test_internalnetwork_scenario1.yaml | 346 ++++ .../test_ipcommunity_scenario1.yaml | 385 +++++ .../test_ipextendedcommunity_scenario1.yaml | 383 ++++ .../recordings/test_ipprefix_scenario1.yaml | 384 ++++ .../recordings/test_l2domain_scenario1.yaml | 1539 +++++++++++++++++ .../recordings/test_l3domain_scenario1.yaml | 628 +++++++ .../recordings/test_l3domain_scenario2.yaml | 110 ++ .../latest/recordings/test_nf_scenario1.yaml | 807 +++++++++ .../latest/recordings/test_nf_scenario2.yaml | 332 ++++ .../latest/recordings/test_nfc_scenario1.yaml | 340 ++++ .../latest/recordings/test_nfc_scenario2.yaml | 1492 ++++++++++++++++ .../latest/recordings/test_nni_scenario1.yaml | 204 +++ .../test_route_policy_scenario1.yaml | 474 +++++ .../test_route_policy_scenario2.yaml | 579 +++++++ .../tests/latest/test_device.py | 75 + .../tests/latest/test_externalnetwork.py | 76 + .../tests/latest/test_interface.py | 72 + .../tests/latest/test_internalnetwork.py | 78 + .../tests/latest/test_ipcommunity.py | 82 + .../tests/latest/test_ipextendedcommunity.py | 79 + .../tests/latest/test_ipprefix.py | 82 + .../tests/latest/test_l2domain.py | 97 ++ .../tests/latest/test_l3domain.py | 118 ++ .../tests/latest/test_managednetworkfabric.py | 13 + .../tests/latest/test_nf.py | 123 ++ .../tests/latest/test_nfc.py | 103 ++ .../tests/latest/test_nni.py | 78 + .../tests/latest/test_rack.py | 63 + .../tests/latest/test_routepolicy.py | 108 ++ src/managednetworkfabric/setup.cfg | 1 + src/managednetworkfabric/setup.py | 49 + src/service_name.json | 5 + 175 files changed, 38990 insertions(+) create mode 100644 src/managednetworkfabric/HISTORY.rst create mode 100644 src/managednetworkfabric/README.md create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/_help.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/_params.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/azext_metadata.json create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/commands.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/custom.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/__init__.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_managednetworkfabric.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py create mode 100644 src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py create mode 100644 src/managednetworkfabric/setup.cfg create mode 100644 src/managednetworkfabric/setup.py diff --git a/linter_exclusions.yml b/linter_exclusions.yml index bb7ec8274d9..13157ecd3be 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -2009,6 +2009,18 @@ network vwan update: security_provider_name: rule_exclusions: - option_length_too_long +nf rack create: + rule_exclusions: + - missing_command_test_coverage +nf rack delete: + rule_exclusions: + - missing_command_test_coverage +nf device delete: + rule_exclusions: + - missing_command_test_coverage +nf interface delete: + rule_exclusions: + - missing_command_test_coverage notification-hub authorization-rule create: parameters: notification_hub_name: diff --git a/src/managednetworkfabric/HISTORY.rst b/src/managednetworkfabric/HISTORY.rst new file mode 100644 index 00000000000..8c34bccfff8 --- /dev/null +++ b/src/managednetworkfabric/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +0.1.0 +++++++ +* Initial release. \ No newline at end of file diff --git a/src/managednetworkfabric/README.md b/src/managednetworkfabric/README.md new file mode 100644 index 00000000000..d28fa2fa1a6 --- /dev/null +++ b/src/managednetworkfabric/README.md @@ -0,0 +1,5 @@ +# Azure CLI Managednetworkfabric Extension # +This is an extension to Azure CLI to manage Managednetworkfabric resources. + +## How to use ## +Please add commands usage here. \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/__init__.py new file mode 100644 index 00000000000..7f2b6447119 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/__init__.py @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +from azure.cli.core import AzCommandsLoader +from azext_managednetworkfabric._help import helps # pylint: disable=unused-import + + +class ManagednetworkfabricCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + custom_command_type = CliCommandType( + operations_tmpl='azext_managednetworkfabric.custom#{}') + super().__init__(cli_ctx=cli_ctx, + custom_command_type=custom_command_type) + + def load_command_table(self, args): + from azext_managednetworkfabric.commands import load_command_table + from azure.cli.core.aaz import load_aaz_command_table + try: + from . import aaz + except ImportError: + aaz = None + if aaz: + load_aaz_command_table( + loader=self, + aaz_pkg_name=aaz.__name__, + args=args + ) + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + from azext_managednetworkfabric._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = ManagednetworkfabricCommandsLoader diff --git a/src/managednetworkfabric/azext_managednetworkfabric/_help.py b/src/managednetworkfabric/azext_managednetworkfabric/_help.py new file mode 100644 index 00000000000..126d5d00714 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/_help.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long +# pylint: disable=too-many-lines + +from knack.help_files import helps # pylint: disable=unused-import diff --git a/src/managednetworkfabric/azext_managednetworkfabric/_params.py b/src/managednetworkfabric/azext_managednetworkfabric/_params.py new file mode 100644 index 00000000000..cfcec717c9c --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/_params.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + + +def load_arguments(self, _): # pylint: disable=unused-argument + pass diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py new file mode 100644 index 00000000000..2b4bdafb96d --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf", +) +class __CMDGroup(AAZCommandGroup): + """Manage Azure Network Fabric Management Service API + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__init__.py new file mode 100644 index 00000000000..5a9d61963d6 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__init__.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py new file mode 100644 index 00000000000..ce814f84ec1 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf acl", +) +class __CMDGroup(AAZCommandGroup): + """Manage Access Control List Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__init__.py new file mode 100644 index 00000000000..efc3964e3fb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__init__.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py new file mode 100644 index 00000000000..3e0ebf9bb77 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py @@ -0,0 +1,384 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf acl create", +) +class Create(AAZCommand): + """Create a Access Control List resource + + :example: Creates a Access Control List resource. + az nf acl create --resource-group "example-rg" --location "westus3" --resource-name "example-accesscontrollist" --address-family "ipv4" --conditions '[{"sequenceNumber": 123, "action": "allow", "destinationAddress": "1.1.10.10", "destinationPort": "1254", "sourceAddress": "1.1.1.0/24", "sourcePort": "1276", "protocol": "255", "annotation": "asdf"}]' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf acl create --conditions '??' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Access Control List", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.address_family = AAZStrArg( + options=["--address-family"], + arg_group="Properties", + help="IP address family. Example: ipv4 | ipv6.", + required=True, + enum={"ipv4": "ipv4", "ipv6": "ipv6"}, + ) + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.conditions = AAZListArg( + options=["--conditions"], + arg_group="Properties", + help="Access Control List conditions.", + required=True, + ) + + conditions = cls._args_schema.conditions + conditions.Element = AAZObjectArg() + + _element = cls._args_schema.conditions.Element + _element.action = AAZStrArg( + options=["action"], + help="action. Example: allow | deny.", + required=True, + enum={"allow": "allow", "deny": "deny"}, + ) + _element.annotation = AAZStrArg( + options=["annotation"], + help="Switch configuration description.", + ) + _element.destination_address = AAZStrArg( + options=["destination-address"], + help="destinationAddress. Example: any | 1.1.1.0/24 | 1.1.10.10", + required=True, + ) + _element.destination_port = AAZStrArg( + options=["destination-port"], + help="destinationPort. Example: any | 1253", + required=True, + ) + _element.protocol = AAZIntArg( + options=["protocol"], + help="TCP/IP protocol as defined in the list of IP protocol numbers. Example: 255 (any) | 0 | 1.", + required=True, + ) + _element.sequence_number = AAZIntArg( + options=["sequence-number"], + help="sequenceNumber of the Access Control List.", + required=True, + ) + _element.source_address = AAZStrArg( + options=["source-address"], + help="sourceAddress. Example: any | 1.1.1.0/24 | 1.1.10.10", + required=True, + ) + _element.source_port = AAZStrArg( + options=["source-port"], + help="sourcePort. Example: any | 1253", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.AccessControlListsCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class AccessControlListsCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "accessControlListName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("addressFamily", AAZStrType, ".address_family", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("conditions", AAZListType, ".conditions", typ_kwargs={"flags": {"required": True}}) + + conditions = _builder.get(".properties.conditions") + if conditions is not None: + conditions.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.conditions[]") + if _elements is not None: + _elements.set_prop("action", AAZStrType, ".action", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("annotation", AAZStrType, ".annotation") + _elements.set_prop("destinationAddress", AAZStrType, ".destination_address", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("destinationPort", AAZStrType, ".destination_port", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("protocol", AAZIntType, ".protocol", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("sequenceNumber", AAZIntType, ".sequence_number", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("sourceAddress", AAZStrType, ".source_address", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("sourcePort", AAZStrType, ".source_port", typ_kwargs={"flags": {"required": True}}) + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.address_family = AAZStrType( + serialized_name="addressFamily", + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.conditions = AAZListType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.conditions.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.destination_address = AAZStrType( + serialized_name="destinationAddress", + flags={"required": True}, + ) + _element.destination_port = AAZStrType( + serialized_name="destinationPort", + flags={"required": True}, + ) + _element.protocol = AAZIntType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.source_address = AAZStrType( + serialized_name="sourceAddress", + flags={"required": True}, + ) + _element.source_port = AAZStrType( + serialized_name="sourcePort", + flags={"required": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py new file mode 100644 index 00000000000..eff0b442550 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py @@ -0,0 +1,139 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf acl delete", +) +class Delete(AAZCommand): + """Delete the Access Control List resource + + :example: Delete a Access Control List resource + az nf acl delete --resource-group "example-rg" --resource-name "example-acl" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return None + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Access Control List", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.AccessControlListsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class AccessControlListsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + if session.http_response.status_code in [204]: + return self.on_204(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "accessControlListName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py new file mode 100644 index 00000000000..62a8b258ba3 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py @@ -0,0 +1,432 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf acl list", +) +class List(AAZCommand): + """List all Access Control Lists in the provided resource group or subscription + + :example: List all Access Control Lists + az nf acl list --resource-group "example-rg" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/accesscontrollists", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.AccessControlListsListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.AccessControlListsListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class AccessControlListsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.address_family = AAZStrType( + serialized_name="addressFamily", + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.conditions = AAZListType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.value.Element.properties.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.conditions.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.destination_address = AAZStrType( + serialized_name="destinationAddress", + flags={"required": True}, + ) + _element.destination_port = AAZStrType( + serialized_name="destinationPort", + flags={"required": True}, + ) + _element.protocol = AAZIntType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.source_address = AAZStrType( + serialized_name="sourceAddress", + flags={"required": True}, + ) + _element.source_port = AAZStrType( + serialized_name="sourcePort", + flags={"required": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class AccessControlListsListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/accessControlLists", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.address_family = AAZStrType( + serialized_name="addressFamily", + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.conditions = AAZListType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.value.Element.properties.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.conditions.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.destination_address = AAZStrType( + serialized_name="destinationAddress", + flags={"required": True}, + ) + _element.destination_port = AAZStrType( + serialized_name="destinationPort", + flags={"required": True}, + ) + _element.protocol = AAZIntType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.source_address = AAZStrType( + serialized_name="sourceAddress", + flags={"required": True}, + ) + _element.source_port = AAZStrType( + serialized_name="sourcePort", + flags={"required": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py new file mode 100644 index 00000000000..72495b824e8 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py @@ -0,0 +1,254 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf acl show", +) +class Show(AAZCommand): + """Show details of the provided Access Control List resource + + :example: Show the Access Control List resource + az nf acl show --resource-group "example-rg" --resource-name "example-acl" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/accesscontrollists/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Access Control List", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.AccessControlListsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class AccessControlListsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "accessControlListName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.address_family = AAZStrType( + serialized_name="addressFamily", + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.conditions = AAZListType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.conditions.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.destination_address = AAZStrType( + serialized_name="destinationAddress", + flags={"required": True}, + ) + _element.destination_port = AAZStrType( + serialized_name="destinationPort", + flags={"required": True}, + ) + _element.protocol = AAZIntType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.source_address = AAZStrType( + serialized_name="sourceAddress", + flags={"required": True}, + ) + _element.source_port = AAZStrType( + serialized_name="sourcePort", + flags={"required": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py new file mode 100644 index 00000000000..6a7aa52941c --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf controller", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Fabric Controller Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py new file mode 100644 index 00000000000..469eb417812 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py @@ -0,0 +1,483 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf controller create", +) +class Create(AAZCommand): + """Create a Network Fabric Controller resource. + + :example: Create a Network Fabric Controller. For RE-PUT with 'mrg' parameter, both name and location properties are required. + az nf controller create --resource-group "example-rg" --location "westus3" --resource-name "example-nfc" --ipv4-address-space "10.0.0.0/19" --infra-er-connections '[{"expressRouteCircuitId":"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}, {"expressRouteCircuitId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}]' --workload-er-connections '[{"expressRouteCircuitId":"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}, {"expressRouteCircuitId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}]' --mrg name=example-mrgName location=eastus + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf controller create --infra-er-connections '??' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabriccontrollers/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric Controller", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.infra_er_connections = AAZListArg( + options=["--infra-er-connections"], + arg_group="Properties", + help="Infra ER connections to manage infra resources.", + ) + _args_schema.ipv4_address_space = AAZStrArg( + options=["--ipv4-address-space"], + arg_group="Properties", + help="IPv4 Network Fabric Controller Address Space.", + ) + _args_schema.ipv6_address_space = AAZStrArg( + options=["--ipv6-address-space"], + arg_group="Properties", + help="IPv6 Network Fabric Controller Address Space.", + ) + _args_schema.managed_resource_group_configuration = AAZObjectArg( + options=["--mrg", "--managed-resource-group-configuration"], + arg_group="Properties", + help="Managed Resource Group configuration properties.", + ) + _args_schema.workload_er_connections = AAZListArg( + options=["--workload-er-connections"], + arg_group="Properties", + help="workload management Network for hosting Proxy, NTP and DNS for workloads.", + ) + + infra_er_connections = cls._args_schema.infra_er_connections + infra_er_connections.Element = AAZObjectArg() + cls._build_args_express_route_connection_information_create(infra_er_connections.Element) + + managed_resource_group_configuration = cls._args_schema.managed_resource_group_configuration + managed_resource_group_configuration.location = AAZStrArg( + options=["location"], + help="Managed resource group location.", + ) + managed_resource_group_configuration.name = AAZStrArg( + options=["name"], + help="The NFC service will be hosted in a Managed resource group.", + ) + + workload_er_connections = cls._args_schema.workload_er_connections + workload_er_connections.Element = AAZObjectArg() + cls._build_args_express_route_connection_information_create(workload_er_connections.Element) + return cls._args_schema + + _args_express_route_connection_information_create = None + + @classmethod + def _build_args_express_route_connection_information_create(cls, _schema): + if cls._args_express_route_connection_information_create is not None: + _schema.express_route_authorization_key = cls._args_express_route_connection_information_create.express_route_authorization_key + _schema.express_route_circuit_id = cls._args_express_route_connection_information_create.express_route_circuit_id + return + + cls._args_express_route_connection_information_create = AAZObjectArg() + + express_route_connection_information_create = cls._args_express_route_connection_information_create + express_route_connection_information_create.express_route_authorization_key = AAZStrArg( + options=["express-route-authorization-key"], + help="Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations.", + required=True, + ) + express_route_connection_information_create.express_route_circuit_id = AAZStrArg( + options=["express-route-circuit-id"], + help="The name of express route circuit, must be of type Microsoft.NetworkexpressRouteCircuits/circuitName.", + required=True, + ) + + _schema.express_route_authorization_key = cls._args_express_route_connection_information_create.express_route_authorization_key + _schema.express_route_circuit_id = cls._args_express_route_connection_information_create.express_route_circuit_id + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkFabricControllersCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkFabricControllersCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricControllerName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("infrastructureExpressRouteConnections", AAZListType, ".infra_er_connections") + properties.set_prop("ipv4AddressSpace", AAZStrType, ".ipv4_address_space") + properties.set_prop("ipv6AddressSpace", AAZStrType, ".ipv6_address_space") + properties.set_prop("managedResourceGroupConfiguration", AAZObjectType, ".managed_resource_group_configuration") + properties.set_prop("workloadExpressRouteConnections", AAZListType, ".workload_er_connections") + + infrastructure_express_route_connections = _builder.get(".properties.infrastructureExpressRouteConnections") + if infrastructure_express_route_connections is not None: + _CreateHelper._build_schema_express_route_connection_information_create(infrastructure_express_route_connections.set_elements(AAZObjectType, ".")) + + managed_resource_group_configuration = _builder.get(".properties.managedResourceGroupConfiguration") + if managed_resource_group_configuration is not None: + managed_resource_group_configuration.set_prop("location", AAZStrType, ".location") + managed_resource_group_configuration.set_prop("name", AAZStrType, ".name") + + workload_express_route_connections = _builder.get(".properties.workloadExpressRouteConnections") + if workload_express_route_connections is not None: + _CreateHelper._build_schema_express_route_connection_information_create(workload_express_route_connections.set_elements(AAZObjectType, ".")) + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.annotation = AAZStrType() + properties.infrastructure_express_route_connections = AAZListType( + serialized_name="infrastructureExpressRouteConnections", + ) + properties.infrastructure_services = AAZObjectType( + serialized_name="infrastructureServices", + flags={"read_only": True}, + ) + properties.ipv4_address_space = AAZStrType( + serialized_name="ipv4AddressSpace", + ) + properties.ipv6_address_space = AAZStrType( + serialized_name="ipv6AddressSpace", + ) + properties.managed_resource_group_configuration = AAZObjectType( + serialized_name="managedResourceGroupConfiguration", + ) + properties.network_fabric_ids = AAZListType( + serialized_name="networkFabricIds", + flags={"read_only": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.workload_express_route_connections = AAZListType( + serialized_name="workloadExpressRouteConnections", + ) + properties.workload_management_network = AAZBoolType( + serialized_name="workloadManagementNetwork", + flags={"read_only": True}, + ) + properties.workload_services = AAZObjectType( + serialized_name="workloadServices", + flags={"read_only": True}, + ) + + infrastructure_express_route_connections = cls._schema_on_200_201.properties.infrastructure_express_route_connections + infrastructure_express_route_connections.Element = AAZObjectType() + _CreateHelper._build_schema_express_route_connection_information_read(infrastructure_express_route_connections.Element) + + infrastructure_services = cls._schema_on_200_201.properties.infrastructure_services + infrastructure_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + infrastructure_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200_201.properties.infrastructure_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200_201.properties.infrastructure_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + managed_resource_group_configuration = cls._schema_on_200_201.properties.managed_resource_group_configuration + managed_resource_group_configuration.location = AAZStrType() + managed_resource_group_configuration.name = AAZStrType() + + network_fabric_ids = cls._schema_on_200_201.properties.network_fabric_ids + network_fabric_ids.Element = AAZStrType() + + workload_express_route_connections = cls._schema_on_200_201.properties.workload_express_route_connections + workload_express_route_connections.Element = AAZObjectType() + _CreateHelper._build_schema_express_route_connection_information_read(workload_express_route_connections.Element) + + workload_services = cls._schema_on_200_201.properties.workload_services + workload_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + workload_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200_201.properties.workload_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200_201.properties.workload_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + @classmethod + def _build_schema_express_route_connection_information_create(cls, _builder): + if _builder is None: + return + _builder.set_prop("expressRouteAuthorizationKey", AAZStrType, ".express_route_authorization_key", typ_kwargs={"flags": {"required": True, "secret": True}}) + _builder.set_prop("expressRouteCircuitId", AAZStrType, ".express_route_circuit_id", typ_kwargs={"flags": {"required": True}}) + + _schema_express_route_connection_information_read = None + + @classmethod + def _build_schema_express_route_connection_information_read(cls, _schema): + if cls._schema_express_route_connection_information_read is not None: + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + return + + cls._schema_express_route_connection_information_read = _schema_express_route_connection_information_read = AAZObjectType() + + express_route_connection_information_read = _schema_express_route_connection_information_read + express_route_connection_information_read.express_route_authorization_key = AAZStrType( + serialized_name="expressRouteAuthorizationKey", + flags={"required": True, "secret": True}, + ) + express_route_connection_information_read.express_route_circuit_id = AAZStrType( + serialized_name="expressRouteCircuitId", + flags={"required": True}, + ) + + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py new file mode 100644 index 00000000000..5e11929b7a7 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf controller delete", +) +class Delete(AAZCommand): + """Delete the Network Fabric Controller resource. + + :example: Delete the Network Fabric Controller + az nf controller delete --resource-group "example-rg" --resource-name "example-nfc" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabriccontrollers/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric Controller", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkFabricControllersDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkFabricControllersDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricControllerName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py new file mode 100644 index 00000000000..f5c9d24b807 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py @@ -0,0 +1,538 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf controller list", +) +class List(AAZCommand): + """List all Network Fabric Controllers in the provided resource group or subscription. + + :example: List the Network Fabric Controllers for Resource group + az nf controller list --resource-group "example-rg" + az nf controller list -g "example-rg" + + :example: List the Network Fabric Controllers for Subscription. + az nf controller list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkfabriccontrollers", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabriccontrollers", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.NetworkFabricControllersListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.NetworkFabricControllersListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkFabricControllersListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.infrastructure_express_route_connections = AAZListType( + serialized_name="infrastructureExpressRouteConnections", + ) + properties.infrastructure_services = AAZObjectType( + serialized_name="infrastructureServices", + flags={"read_only": True}, + ) + properties.ipv4_address_space = AAZStrType( + serialized_name="ipv4AddressSpace", + ) + properties.ipv6_address_space = AAZStrType( + serialized_name="ipv6AddressSpace", + ) + properties.managed_resource_group_configuration = AAZObjectType( + serialized_name="managedResourceGroupConfiguration", + ) + properties.network_fabric_ids = AAZListType( + serialized_name="networkFabricIds", + flags={"read_only": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.workload_express_route_connections = AAZListType( + serialized_name="workloadExpressRouteConnections", + ) + properties.workload_management_network = AAZBoolType( + serialized_name="workloadManagementNetwork", + flags={"read_only": True}, + ) + properties.workload_services = AAZObjectType( + serialized_name="workloadServices", + flags={"read_only": True}, + ) + + infrastructure_express_route_connections = cls._schema_on_200.value.Element.properties.infrastructure_express_route_connections + infrastructure_express_route_connections.Element = AAZObjectType() + _ListHelper._build_schema_express_route_connection_information_read(infrastructure_express_route_connections.Element) + + infrastructure_services = cls._schema_on_200.value.Element.properties.infrastructure_services + infrastructure_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + infrastructure_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.value.Element.properties.infrastructure_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.value.Element.properties.infrastructure_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + managed_resource_group_configuration = cls._schema_on_200.value.Element.properties.managed_resource_group_configuration + managed_resource_group_configuration.location = AAZStrType() + managed_resource_group_configuration.name = AAZStrType() + + network_fabric_ids = cls._schema_on_200.value.Element.properties.network_fabric_ids + network_fabric_ids.Element = AAZStrType() + + workload_express_route_connections = cls._schema_on_200.value.Element.properties.workload_express_route_connections + workload_express_route_connections.Element = AAZObjectType() + _ListHelper._build_schema_express_route_connection_information_read(workload_express_route_connections.Element) + + workload_services = cls._schema_on_200.value.Element.properties.workload_services + workload_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + workload_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.value.Element.properties.workload_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.value.Element.properties.workload_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class NetworkFabricControllersListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.infrastructure_express_route_connections = AAZListType( + serialized_name="infrastructureExpressRouteConnections", + ) + properties.infrastructure_services = AAZObjectType( + serialized_name="infrastructureServices", + flags={"read_only": True}, + ) + properties.ipv4_address_space = AAZStrType( + serialized_name="ipv4AddressSpace", + ) + properties.ipv6_address_space = AAZStrType( + serialized_name="ipv6AddressSpace", + ) + properties.managed_resource_group_configuration = AAZObjectType( + serialized_name="managedResourceGroupConfiguration", + ) + properties.network_fabric_ids = AAZListType( + serialized_name="networkFabricIds", + flags={"read_only": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.workload_express_route_connections = AAZListType( + serialized_name="workloadExpressRouteConnections", + ) + properties.workload_management_network = AAZBoolType( + serialized_name="workloadManagementNetwork", + flags={"read_only": True}, + ) + properties.workload_services = AAZObjectType( + serialized_name="workloadServices", + flags={"read_only": True}, + ) + + infrastructure_express_route_connections = cls._schema_on_200.value.Element.properties.infrastructure_express_route_connections + infrastructure_express_route_connections.Element = AAZObjectType() + _ListHelper._build_schema_express_route_connection_information_read(infrastructure_express_route_connections.Element) + + infrastructure_services = cls._schema_on_200.value.Element.properties.infrastructure_services + infrastructure_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + infrastructure_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.value.Element.properties.infrastructure_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.value.Element.properties.infrastructure_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + managed_resource_group_configuration = cls._schema_on_200.value.Element.properties.managed_resource_group_configuration + managed_resource_group_configuration.location = AAZStrType() + managed_resource_group_configuration.name = AAZStrType() + + network_fabric_ids = cls._schema_on_200.value.Element.properties.network_fabric_ids + network_fabric_ids.Element = AAZStrType() + + workload_express_route_connections = cls._schema_on_200.value.Element.properties.workload_express_route_connections + workload_express_route_connections.Element = AAZObjectType() + _ListHelper._build_schema_express_route_connection_information_read(workload_express_route_connections.Element) + + workload_services = cls._schema_on_200.value.Element.properties.workload_services + workload_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + workload_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.value.Element.properties.workload_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.value.Element.properties.workload_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_express_route_connection_information_read = None + + @classmethod + def _build_schema_express_route_connection_information_read(cls, _schema): + if cls._schema_express_route_connection_information_read is not None: + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + return + + cls._schema_express_route_connection_information_read = _schema_express_route_connection_information_read = AAZObjectType() + + express_route_connection_information_read = _schema_express_route_connection_information_read + express_route_connection_information_read.express_route_authorization_key = AAZStrType( + serialized_name="expressRouteAuthorizationKey", + flags={"required": True, "secret": True}, + ) + express_route_connection_information_read.express_route_circuit_id = AAZStrType( + serialized_name="expressRouteCircuitId", + flags={"required": True}, + ) + + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py new file mode 100644 index 00000000000..7ea15299fbc --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py @@ -0,0 +1,317 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf controller show", +) +class Show(AAZCommand): + """Show details of the provided Network Fabric Controller resource. + + :example: Show the Network Fabric Controller + az nf controller show --resource-group "example-rg" --resource-name "example-nfc" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabriccontrollers/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric Controller", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkFabricControllersGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkFabricControllersGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricControllerName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.infrastructure_express_route_connections = AAZListType( + serialized_name="infrastructureExpressRouteConnections", + ) + properties.infrastructure_services = AAZObjectType( + serialized_name="infrastructureServices", + flags={"read_only": True}, + ) + properties.ipv4_address_space = AAZStrType( + serialized_name="ipv4AddressSpace", + ) + properties.ipv6_address_space = AAZStrType( + serialized_name="ipv6AddressSpace", + ) + properties.managed_resource_group_configuration = AAZObjectType( + serialized_name="managedResourceGroupConfiguration", + ) + properties.network_fabric_ids = AAZListType( + serialized_name="networkFabricIds", + flags={"read_only": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.workload_express_route_connections = AAZListType( + serialized_name="workloadExpressRouteConnections", + ) + properties.workload_management_network = AAZBoolType( + serialized_name="workloadManagementNetwork", + flags={"read_only": True}, + ) + properties.workload_services = AAZObjectType( + serialized_name="workloadServices", + flags={"read_only": True}, + ) + + infrastructure_express_route_connections = cls._schema_on_200.properties.infrastructure_express_route_connections + infrastructure_express_route_connections.Element = AAZObjectType() + _ShowHelper._build_schema_express_route_connection_information_read(infrastructure_express_route_connections.Element) + + infrastructure_services = cls._schema_on_200.properties.infrastructure_services + infrastructure_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + infrastructure_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.properties.infrastructure_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.properties.infrastructure_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + managed_resource_group_configuration = cls._schema_on_200.properties.managed_resource_group_configuration + managed_resource_group_configuration.location = AAZStrType() + managed_resource_group_configuration.name = AAZStrType() + + network_fabric_ids = cls._schema_on_200.properties.network_fabric_ids + network_fabric_ids.Element = AAZStrType() + + workload_express_route_connections = cls._schema_on_200.properties.workload_express_route_connections + workload_express_route_connections.Element = AAZObjectType() + _ShowHelper._build_schema_express_route_connection_information_read(workload_express_route_connections.Element) + + workload_services = cls._schema_on_200.properties.workload_services + workload_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + workload_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.properties.workload_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.properties.workload_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_express_route_connection_information_read = None + + @classmethod + def _build_schema_express_route_connection_information_read(cls, _schema): + if cls._schema_express_route_connection_information_read is not None: + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + return + + cls._schema_express_route_connection_information_read = _schema_express_route_connection_information_read = AAZObjectType() + + express_route_connection_information_read = _schema_express_route_connection_information_read + express_route_connection_information_read.express_route_authorization_key = AAZStrType( + serialized_name="expressRouteAuthorizationKey", + flags={"required": True, "secret": True}, + ) + express_route_connection_information_read.express_route_circuit_id = AAZStrType( + serialized_name="expressRouteCircuitId", + flags={"required": True}, + ) + + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py new file mode 100644 index 00000000000..98a9654943b --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py @@ -0,0 +1,313 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf controller wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabriccontrollers/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric Controller", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkFabricControllersGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NetworkFabricControllersGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricControllerName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.infrastructure_express_route_connections = AAZListType( + serialized_name="infrastructureExpressRouteConnections", + ) + properties.infrastructure_services = AAZObjectType( + serialized_name="infrastructureServices", + flags={"read_only": True}, + ) + properties.ipv4_address_space = AAZStrType( + serialized_name="ipv4AddressSpace", + ) + properties.ipv6_address_space = AAZStrType( + serialized_name="ipv6AddressSpace", + ) + properties.managed_resource_group_configuration = AAZObjectType( + serialized_name="managedResourceGroupConfiguration", + ) + properties.network_fabric_ids = AAZListType( + serialized_name="networkFabricIds", + flags={"read_only": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.workload_express_route_connections = AAZListType( + serialized_name="workloadExpressRouteConnections", + ) + properties.workload_management_network = AAZBoolType( + serialized_name="workloadManagementNetwork", + flags={"read_only": True}, + ) + properties.workload_services = AAZObjectType( + serialized_name="workloadServices", + flags={"read_only": True}, + ) + + infrastructure_express_route_connections = cls._schema_on_200.properties.infrastructure_express_route_connections + infrastructure_express_route_connections.Element = AAZObjectType() + _WaitHelper._build_schema_express_route_connection_information_read(infrastructure_express_route_connections.Element) + + infrastructure_services = cls._schema_on_200.properties.infrastructure_services + infrastructure_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + infrastructure_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.properties.infrastructure_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.properties.infrastructure_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + managed_resource_group_configuration = cls._schema_on_200.properties.managed_resource_group_configuration + managed_resource_group_configuration.location = AAZStrType() + managed_resource_group_configuration.name = AAZStrType() + + network_fabric_ids = cls._schema_on_200.properties.network_fabric_ids + network_fabric_ids.Element = AAZStrType() + + workload_express_route_connections = cls._schema_on_200.properties.workload_express_route_connections + workload_express_route_connections.Element = AAZObjectType() + _WaitHelper._build_schema_express_route_connection_information_read(workload_express_route_connections.Element) + + workload_services = cls._schema_on_200.properties.workload_services + workload_services.ipv4_address_spaces = AAZListType( + serialized_name="ipv4AddressSpaces", + ) + workload_services.ipv6_address_spaces = AAZListType( + serialized_name="ipv6AddressSpaces", + ) + + ipv4_address_spaces = cls._schema_on_200.properties.workload_services.ipv4_address_spaces + ipv4_address_spaces.Element = AAZStrType() + + ipv6_address_spaces = cls._schema_on_200.properties.workload_services.ipv6_address_spaces + ipv6_address_spaces.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_express_route_connection_information_read = None + + @classmethod + def _build_schema_express_route_connection_information_read(cls, _schema): + if cls._schema_express_route_connection_information_read is not None: + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + return + + cls._schema_express_route_connection_information_read = _schema_express_route_connection_information_read = AAZObjectType() + + express_route_connection_information_read = _schema_express_route_connection_information_read + express_route_connection_information_read.express_route_authorization_key = AAZStrType( + serialized_name="expressRouteAuthorizationKey", + flags={"required": True, "secret": True}, + ) + express_route_connection_information_read.express_route_circuit_id = AAZStrType( + serialized_name="expressRouteCircuitId", + flags={"required": True}, + ) + + _schema.express_route_authorization_key = cls._schema_express_route_connection_information_read.express_route_authorization_key + _schema.express_route_circuit_id = cls._schema_express_route_connection_information_read.express_route_circuit_id + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py new file mode 100644 index 00000000000..ade610d2617 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf device", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Device Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__init__.py new file mode 100644 index 00000000000..f32b66e3eeb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._update import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py new file mode 100644 index 00000000000..6f8d12fa326 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf device delete", +) +class Delete(AAZCommand): + """Delete the Network Device resource. + + :example: Delete the Network Device + az nf device delete --resource-group "example-rg" --resource-name "example-device" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkDevicesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkDevicesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py new file mode 100644 index 00000000000..396d81ff2fb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py @@ -0,0 +1,401 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf device list", +) +class List(AAZCommand): + """List all Network Devices in the provided resource group or subscription. + + :example: List the Network Devices for Resource Group + az nf device list --resource-group "example-rg" + + :example: List the Network Devices for Subscription + az nf device list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkdevices", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.NetworkDevicesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.NetworkDevicesListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkDevicesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.host_name = AAZStrType( + serialized_name="hostName", + ) + properties.network_device_role = AAZStrType( + serialized_name="networkDeviceRole", + flags={"required": True}, + ) + properties.network_device_sku = AAZStrType( + serialized_name="networkDeviceSku", + flags={"required": True}, + ) + properties.network_rack_id = AAZStrType( + serialized_name="networkRackId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.serial_number = AAZStrType( + serialized_name="serialNumber", + flags={"required": True}, + ) + properties.version = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class NetworkDevicesListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDevices", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.host_name = AAZStrType( + serialized_name="hostName", + ) + properties.network_device_role = AAZStrType( + serialized_name="networkDeviceRole", + flags={"required": True}, + ) + properties.network_device_sku = AAZStrType( + serialized_name="networkDeviceSku", + flags={"required": True}, + ) + properties.network_rack_id = AAZStrType( + serialized_name="networkRackId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.serial_number = AAZStrType( + serialized_name="serialNumber", + flags={"required": True}, + ) + properties.version = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py new file mode 100644 index 00000000000..6f8e6102fa7 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py @@ -0,0 +1,237 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf device show", +) +class Show(AAZCommand): + """Show details of the provided Network Device resource. + + :example: Show the Network Device + az nf device show --resource-group "example-rg" --resource-name "example-device" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkDevicesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkDevicesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.host_name = AAZStrType( + serialized_name="hostName", + ) + properties.network_device_role = AAZStrType( + serialized_name="networkDeviceRole", + flags={"required": True}, + ) + properties.network_device_sku = AAZStrType( + serialized_name="networkDeviceSku", + flags={"required": True}, + ) + properties.network_rack_id = AAZStrType( + serialized_name="networkRackId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.serial_number = AAZStrType( + serialized_name="serialNumber", + flags={"required": True}, + ) + properties.version = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py new file mode 100644 index 00000000000..e309066a3c6 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py @@ -0,0 +1,310 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf device update", +) +class Update(AAZCommand): + """Update the properties of the provided Network Device resource. + + :example: Update the Network Device + az nf device update --resource-group "example-rg" --resource-name "example-device" --host-name "AustinNF-AR-CE1" --serial-number "Arista;DCS-7280DR3-24;12.05;JPE21115446" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Azure resource tags that will replace the existing ones.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.host_name = AAZStrArg( + options=["--host-name"], + arg_group="Properties", + help="The Host Name of the device. All Network Device names should follow the format --. Example: AustinNF-AR-CE1", + ) + _args_schema.serial_number = AAZStrArg( + options=["--serial-number"], + arg_group="Properties", + help="serialNumber of the format Make;Model;HardwareRevisionId;SerialNumber. Example: Arista;DCS-7280DR3-24;12.05;JPE21116969", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkDevicesUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkDevicesUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}", + **self.url_parameters + ) + + @property + def method(self): + return "PATCH" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("hostName", AAZStrType, ".host_name") + properties.set_prop("serialNumber", AAZStrType, ".serial_number") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.host_name = AAZStrType( + serialized_name="hostName", + ) + properties.network_device_role = AAZStrType( + serialized_name="networkDeviceRole", + flags={"required": True}, + ) + properties.network_device_sku = AAZStrType( + serialized_name="networkDeviceSku", + flags={"required": True}, + ) + properties.network_rack_id = AAZStrType( + serialized_name="networkRackId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.serial_number = AAZStrType( + serialized_name="serialNumber", + flags={"required": True}, + ) + properties.version = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _UpdateHelper: + """Helper class for Update""" + + +__all__ = ["Update"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py new file mode 100644 index 00000000000..af08af8f32e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py @@ -0,0 +1,233 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf device wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkDevicesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NetworkDevicesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.host_name = AAZStrType( + serialized_name="hostName", + ) + properties.network_device_role = AAZStrType( + serialized_name="networkDeviceRole", + flags={"required": True}, + ) + properties.network_device_sku = AAZStrType( + serialized_name="networkDeviceSku", + flags={"required": True}, + ) + properties.network_rack_id = AAZStrType( + serialized_name="networkRackId", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.serial_number = AAZStrType( + serialized_name="serialNumber", + flags={"required": True}, + ) + properties.version = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py new file mode 100644 index 00000000000..ad9fb68af84 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf devicesku", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Device SKU Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__init__.py new file mode 100644 index 00000000000..2df85698253 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__init__.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * +from ._show import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py new file mode 100644 index 00000000000..2595ec612fb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py @@ -0,0 +1,272 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf devicesku list", +) +class List(AAZCommand): + """List all Network Device SKUs in the provided subscription. + + :example: List the DeviceSKU for Subscription + az nf devicesku list --subscription + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkdeviceskus", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkDeviceSkusListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkDeviceSkusListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.interfaces = AAZListType() + properties.limits = AAZObjectType() + properties.manufacturer = AAZStrType() + properties.model = AAZStrType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.supported_role_types = AAZListType( + serialized_name="supportedRoleTypes", + ) + properties.supported_versions = AAZListType( + serialized_name="supportedVersions", + ) + + interfaces = cls._schema_on_200.value.Element.properties.interfaces + interfaces.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.interfaces.Element + _element.identifier = AAZStrType() + _element.interface_type = AAZStrType( + serialized_name="interfaceType", + ) + _element.supported_connector_types = AAZListType( + serialized_name="supportedConnectorTypes", + ) + + supported_connector_types = cls._schema_on_200.value.Element.properties.interfaces.Element.supported_connector_types + supported_connector_types.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.interfaces.Element.supported_connector_types.Element + _element.connector_type = AAZStrType( + serialized_name="connectorType", + ) + _element.max_speed_in_mbps = AAZIntType( + serialized_name="maxSpeedInMbps", + ) + + limits = cls._schema_on_200.value.Element.properties.limits + limits.max_bidirectional_forwarding_detection_peers = AAZIntType( + serialized_name="maxBidirectionalForwardingDetectionPeers", + ) + limits.max_border_gateway_protocol_peers = AAZIntType( + serialized_name="maxBorderGatewayProtocolPeers", + ) + limits.max_sub_interfaces = AAZIntType( + serialized_name="maxSubInterfaces", + ) + limits.max_tunnel_interfaces = AAZIntType( + serialized_name="maxTunnelInterfaces", + ) + limits.max_virtual_router_functions = AAZIntType( + serialized_name="maxVirtualRouterFunctions", + ) + limits.physical_interface_count = AAZIntType( + serialized_name="physicalInterfaceCount", + ) + + supported_role_types = cls._schema_on_200.value.Element.properties.supported_role_types + supported_role_types.Element = AAZStrType() + + supported_versions = cls._schema_on_200.value.Element.properties.supported_versions + supported_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.supported_versions.Element + _element.is_current = AAZStrType( + serialized_name="isCurrent", + ) + _element.is_test = AAZStrType( + serialized_name="isTest", + ) + _element.vendor_firmware_version = AAZStrType( + serialized_name="vendorFirmwareVersion", + ) + _element.vendor_os_version = AAZStrType( + serialized_name="vendorOsVersion", + ) + _element.version = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py new file mode 100644 index 00000000000..a1fe62aff59 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py @@ -0,0 +1,272 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf devicesku show", +) +class Show(AAZCommand): + """Show details of the provided Network Device SKU resource. + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkdeviceskus/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Device Sku", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkDeviceSkusGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkDeviceSkusGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/{networkDeviceSkuName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceSkuName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.interfaces = AAZListType() + properties.limits = AAZObjectType() + properties.manufacturer = AAZStrType() + properties.model = AAZStrType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.supported_role_types = AAZListType( + serialized_name="supportedRoleTypes", + ) + properties.supported_versions = AAZListType( + serialized_name="supportedVersions", + ) + + interfaces = cls._schema_on_200.properties.interfaces + interfaces.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.interfaces.Element + _element.identifier = AAZStrType() + _element.interface_type = AAZStrType( + serialized_name="interfaceType", + ) + _element.supported_connector_types = AAZListType( + serialized_name="supportedConnectorTypes", + ) + + supported_connector_types = cls._schema_on_200.properties.interfaces.Element.supported_connector_types + supported_connector_types.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.interfaces.Element.supported_connector_types.Element + _element.connector_type = AAZStrType( + serialized_name="connectorType", + ) + _element.max_speed_in_mbps = AAZIntType( + serialized_name="maxSpeedInMbps", + ) + + limits = cls._schema_on_200.properties.limits + limits.max_bidirectional_forwarding_detection_peers = AAZIntType( + serialized_name="maxBidirectionalForwardingDetectionPeers", + ) + limits.max_border_gateway_protocol_peers = AAZIntType( + serialized_name="maxBorderGatewayProtocolPeers", + ) + limits.max_sub_interfaces = AAZIntType( + serialized_name="maxSubInterfaces", + ) + limits.max_tunnel_interfaces = AAZIntType( + serialized_name="maxTunnelInterfaces", + ) + limits.max_virtual_router_functions = AAZIntType( + serialized_name="maxVirtualRouterFunctions", + ) + limits.physical_interface_count = AAZIntType( + serialized_name="physicalInterfaceCount", + ) + + supported_role_types = cls._schema_on_200.properties.supported_role_types + supported_role_types.Element = AAZStrType() + + supported_versions = cls._schema_on_200.properties.supported_versions + supported_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.supported_versions.Element + _element.is_current = AAZStrType( + serialized_name="isCurrent", + ) + _element.is_test = AAZStrType( + serialized_name="isTest", + ) + _element.vendor_firmware_version = AAZStrType( + serialized_name="vendorFirmwareVersion", + ) + _element.vendor_os_version = AAZStrType( + serialized_name="vendorOsVersion", + ) + _element.version = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py new file mode 100644 index 00000000000..56d47a385ad --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf externalnetwork", +) +class __CMDGroup(AAZCommandGroup): + """Manage External Network Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__init__.py new file mode 100644 index 00000000000..2b037f08f76 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__init__.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update_admin_state import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py new file mode 100644 index 00000000000..3d453d06b6f --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py @@ -0,0 +1,469 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf externalnetwork create", +) +class Create(AAZCommand): + """Create a External Network resource + + :example: Create a External Network with option B properties + az nf externalnetwork create --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionB" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --option-b-properties '{"importRouteTargets": ["65541:2001","65542:2002"], "exportRouteTargets": ["65531:2001","65532:2002"]}' + + :example: Create a External Network with option A properties + az nf externalnetwork create --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionA" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --option-a-properties '{"peerASN": 65234, "vlanId": 501, "mtu": 1500, "primaryIpv4Prefix": "172.23.1.0/31", "secondaryIpv4Prefix": "172.23.1.2/31"}' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf externalnetwork create --option-a-properties '??' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/externalnetworks/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the ExternalNetwork", + required=True, + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.export_route_policy_id = AAZStrArg( + options=["--export-route-policy-id"], + arg_group="Properties", + help="ARM resource ID of exportRoutePolicy.", + ) + _args_schema.import_route_policy_id = AAZStrArg( + options=["--import-route-policy-id"], + arg_group="Properties", + help="ARM resource ID of importRoutePolicy.", + ) + _args_schema.option_a_properties = AAZObjectArg( + options=["--option-a-properties"], + arg_group="Properties", + help="option A properties object.", + ) + _args_schema.option_b_properties = AAZObjectArg( + options=["--option-b-properties"], + arg_group="Properties", + help="option B properties object.", + ) + _args_schema.peering_option = AAZStrArg( + options=["--peering-option"], + arg_group="Properties", + help="Peering option list.", + required=True, + enum={"OptionA": "OptionA", "OptionB": "OptionB"}, + ) + + option_a_properties = cls._args_schema.option_a_properties + option_a_properties.mtu = AAZIntArg( + options=["mtu"], + help="MTU to use for option A peering. The value should be between 1500 to 9000.Default Value is 1500. Example : 1650.", + default=1500, + fmt=AAZIntArgFormat( + maximum=9000, + minimum=1500, + ), + ) + option_a_properties.peer_asn = AAZIntArg( + options=["peer-asn"], + help="Peer ASN number. The value should be between 1 to 65535. Example : 65234.", + required=True, + fmt=AAZIntArgFormat( + maximum=65535, + minimum=1, + ), + ) + option_a_properties.primary_ipv4_prefix = AAZStrArg( + options=["primary-ipv4-prefix"], + help="IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.23.1.0/31.", + ) + option_a_properties.primary_ipv6_prefix = AAZStrArg( + options=["primary-ipv6-prefix"], + help="IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a1/126.", + ) + option_a_properties.secondary_ipv4_prefix = AAZStrArg( + options=["secondary-ipv4-prefix"], + help="Secondary IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.23.1.2/31.", + ) + option_a_properties.secondary_ipv6_prefix = AAZStrArg( + options=["secondary-ipv6-prefix"], + help="Secondary IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a1/126.", + ) + option_a_properties.vlan_id = AAZIntArg( + options=["vlan-id"], + help="Vlan identifier. The value should be between 501 to 4095. Example : 501.", + required=True, + fmt=AAZIntArgFormat( + maximum=4095, + minimum=501, + ), + ) + + option_b_properties = cls._args_schema.option_b_properties + option_b_properties.export_route_targets = AAZListArg( + options=["export-route-targets"], + help="Route Targets to be applied for outgoing routes from CE.", + ) + option_b_properties.import_route_targets = AAZListArg( + options=["import-route-targets"], + help="Route Targets to be applied for incoming routes into CE.", + ) + + export_route_targets = cls._args_schema.option_b_properties.export_route_targets + export_route_targets.Element = AAZStrArg() + + import_route_targets = cls._args_schema.option_b_properties.import_route_targets + import_route_targets.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ExternalNetworksCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ExternalNetworksCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("exportRoutePolicyId", AAZStrType, ".export_route_policy_id") + properties.set_prop("importRoutePolicyId", AAZStrType, ".import_route_policy_id") + properties.set_prop("optionAProperties", AAZObjectType, ".option_a_properties") + properties.set_prop("optionBProperties", AAZObjectType, ".option_b_properties") + properties.set_prop("peeringOption", AAZStrType, ".peering_option", typ_kwargs={"flags": {"required": True}}) + + option_a_properties = _builder.get(".properties.optionAProperties") + if option_a_properties is not None: + option_a_properties.set_prop("mtu", AAZIntType, ".mtu") + option_a_properties.set_prop("peerASN", AAZIntType, ".peer_asn", typ_kwargs={"flags": {"required": True}}) + option_a_properties.set_prop("primaryIpv4Prefix", AAZStrType, ".primary_ipv4_prefix") + option_a_properties.set_prop("primaryIpv6Prefix", AAZStrType, ".primary_ipv6_prefix") + option_a_properties.set_prop("secondaryIpv4Prefix", AAZStrType, ".secondary_ipv4_prefix") + option_a_properties.set_prop("secondaryIpv6Prefix", AAZStrType, ".secondary_ipv6_prefix") + option_a_properties.set_prop("vlanId", AAZIntType, ".vlan_id", typ_kwargs={"flags": {"required": True}}) + + option_b_properties = _builder.get(".properties.optionBProperties") + if option_b_properties is not None: + option_b_properties.set_prop("exportRouteTargets", AAZListType, ".export_route_targets") + option_b_properties.set_prop("importRouteTargets", AAZListType, ".import_route_targets") + + export_route_targets = _builder.get(".properties.optionBProperties.exportRouteTargets") + if export_route_targets is not None: + export_route_targets.set_elements(AAZStrType, ".") + + import_route_targets = _builder.get(".properties.optionBProperties.importRouteTargets") + if import_route_targets is not None: + import_route_targets.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + properties.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + properties.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + properties.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + disabled_on_resources = cls._schema_on_200_201.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_a_properties = cls._schema_on_200_201.properties.option_a_properties + option_a_properties.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + option_a_properties.mtu = AAZIntType() + option_a_properties.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + option_a_properties.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_configuration = cls._schema_on_200_201.properties.option_a_properties.bfd_configuration + bfd_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + option_b_properties = cls._schema_on_200_201.properties.option_b_properties + option_b_properties.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + ) + option_b_properties.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + ) + + export_route_targets = cls._schema_on_200_201.properties.option_b_properties.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = cls._schema_on_200_201.properties.option_b_properties.import_route_targets + import_route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py new file mode 100644 index 00000000000..f131bdeb6f9 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py @@ -0,0 +1,173 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf externalnetwork delete", +) +class Delete(AAZCommand): + """Delete the External Network resource. + + :example: Delete the External Network + az nf externalnetwork delete --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalnetwork" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/externalnetworks/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the ExternalNetwork", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ExternalNetworksDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class ExternalNetworksDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py new file mode 100644 index 00000000000..64f17638cec --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py @@ -0,0 +1,303 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf externalnetwork list", +) +class List(AAZCommand): + """List all External Networks in the provided resource group. + + :example: List the External Network for Resource Group + az nf externalnetwork list --resource-group "example-rg" --l3domain "example-l3domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/externalnetworks", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalNetworksList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class ExternalNetworksList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + properties.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + properties.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + properties.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + disabled_on_resources = cls._schema_on_200.value.Element.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_a_properties = cls._schema_on_200.value.Element.properties.option_a_properties + option_a_properties.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + option_a_properties.mtu = AAZIntType() + option_a_properties.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + option_a_properties.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_configuration = cls._schema_on_200.value.Element.properties.option_a_properties.bfd_configuration + bfd_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + option_b_properties = cls._schema_on_200.value.Element.properties.option_b_properties + option_b_properties.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + ) + option_b_properties.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + ) + + export_route_targets = cls._schema_on_200.value.Element.properties.option_b_properties.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = cls._schema_on_200.value.Element.properties.option_b_properties.import_route_targets + import_route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py new file mode 100644 index 00000000000..1d1d15b72ca --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py @@ -0,0 +1,305 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf externalnetwork show", +) +class Show(AAZCommand): + """Show details of the provided External Network resource. + + :example: Show the External Network + az nf externalnetwork show --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalnetwork" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/externalnetworks/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the ExternalNetwork", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalNetworksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ExternalNetworksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + properties.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + properties.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + properties.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_a_properties = cls._schema_on_200.properties.option_a_properties + option_a_properties.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + option_a_properties.mtu = AAZIntType() + option_a_properties.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + option_a_properties.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_configuration = cls._schema_on_200.properties.option_a_properties.bfd_configuration + bfd_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + option_b_properties = cls._schema_on_200.properties.option_b_properties + option_b_properties.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + ) + option_b_properties.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + ) + + export_route_targets = cls._schema_on_200.properties.option_b_properties.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = cls._schema_on_200.properties.option_b_properties.import_route_targets + import_route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py new file mode 100644 index 00000000000..d62b270e548 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py @@ -0,0 +1,204 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf externalnetwork update-admin-state", +) +class UpdateAdminState(AAZCommand): + """Update the admin state of the provided External Network resource. + + :example: Update admin state of External Network + az nf externalnetwork update-admin-state --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --state "Enable" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/externalnetworks/{}/updateadministrativestate", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the ExternalNetwork.", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.resource_ids = AAZListArg( + options=["--resource-ids"], + arg_group="Body", + help="Network Fabrics or Network Rack resource Id.", + ) + _args_schema.state = AAZStrArg( + options=["--state"], + arg_group="Body", + help="Administrative state.", + enum={"Disable": "Disable", "Enable": "Enable"}, + ) + + resource_ids = cls._args_schema.resource_ids + resource_ids.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ExternalNetworksUpdateAdministrativeState(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class ExternalNetworksUpdateAdministrativeState(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateAdministrativeState", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("resourceIds", AAZListType, ".resource_ids") + _builder.set_prop("state", AAZStrType, ".state") + + resource_ids = _builder.get(".resourceIds") + if resource_ids is not None: + resource_ids.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + pass + + +class _UpdateAdminStateHelper: + """Helper class for UpdateAdminState""" + + +__all__ = ["UpdateAdminState"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py new file mode 100644 index 00000000000..342b9733b3b --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py @@ -0,0 +1,301 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf externalnetwork wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/externalnetworks/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the ExternalNetwork", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalNetworksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class ExternalNetworksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + properties.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + properties.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + properties.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_a_properties = cls._schema_on_200.properties.option_a_properties + option_a_properties.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + option_a_properties.mtu = AAZIntType() + option_a_properties.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + option_a_properties.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_configuration = cls._schema_on_200.properties.option_a_properties.bfd_configuration + bfd_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + option_b_properties = cls._schema_on_200.properties.option_b_properties + option_b_properties.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + ) + option_b_properties.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + ) + + export_route_targets = cls._schema_on_200.properties.option_b_properties.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = cls._schema_on_200.properties.option_b_properties.import_route_targets + import_route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py new file mode 100644 index 00000000000..56723f99a05 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf fabric", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Fabric Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__init__.py new file mode 100644 index 00000000000..258a2235bbb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__init__.py @@ -0,0 +1,18 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._deprovision import * +from ._list import * +from ._provision import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py new file mode 100644 index 00000000000..1f6ab86f28e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py @@ -0,0 +1,825 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric create", +) +class Create(AAZCommand): + """Create a Network Fabric resource. + + :example: Create a Network Fabric with option B Properties + az nf fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 3 --server-count-per-rack 7 --ts-config '{"primaryIpv4Prefix":"172.31.0.0/30", "secondaryIpv4Prefix":"172.31.0.20/30", "username":"****", "password":"*****", "serialNumber":"1234"}' --managed-network-config '{"infrastructureVpnConfiguration":{"peeringOption": "OptionB", "optionBProperties": {"importRouteTargets": ["65541:2001","65542:2001"], "exportRouteTargets": ["65531","65532"]}}, "workloadVpnConfiguration":{"peeringOption": "OptionB", "optionBProperties": {"importRouteTargets": ["65541:2001","65542:2001"], "exportRouteTargets": ["65531","65532"]}}}' + + :example: Create a Network Fabric with option A Properties + az nf fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix "10.1.0.0/19" --rack-count 3 --server-count-per-rack 7 --ts-config '{"primaryIpv4Prefix":"172.31.0.0/30", "secondaryIpv4Prefix":"172.31.0.20/30", "username":"****", "password":"*****", "serialNumber":"1234"}' --managed-network-config '{"infrastructureVpnConfiguration":{"peeringOption": "OptionA", "optionAProperties": {"mtu": 1500, "vlanId": 520, "peerASN": 65133, "primaryIpv4Prefix": "172.31.0.0/31", "secondaryIpv4Prefix": "172.31.0.20/31"}}, "workloadVpnConfiguration":{"peeringOption": "OptionA", "optionAProperties": {"mtu": 1500, "vlanId": 520, "peerASN": 65133, "primaryIpv4Prefix": "172.31.0.0/31", "secondaryIpv4Prefix": "172.31.0.20/31"}}}' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf fabric create --ts-config '??' + az nf fabric create --managed-network-config '{'infrastructureVpnConfiguration':'??'' + az nf fabric create --managed-network-config '{'infrastructureVpnConfiguration':{'option-b-properties':'??'' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.fabric_asn = AAZIntArg( + options=["--fabric-asn"], + arg_group="Properties", + help="ASN of CE devices for CE/PE connectivity. The value should be between 1 to 65535. Example : 65123", + fmt=AAZIntArgFormat( + maximum=65535, + minimum=1, + ), + ) + _args_schema.ipv4_prefix = AAZStrArg( + options=["--ipv4-prefix"], + arg_group="Properties", + help="IPv4Prefix for Management Network. Example : 10.1.0.0/19.", + ) + _args_schema.ipv6_prefix = AAZStrArg( + options=["--ipv6-prefix"], + arg_group="Properties", + help="IPv6Prefix for Management Network. Example : 3FFE:FFFF:0:CD40::/59.", + ) + _args_schema.managed_network_config = AAZObjectArg( + options=["--managed-network-config"], + arg_group="Properties", + help="Configuration to be used to setup the management network.", + ) + _args_schema.nfc_id = AAZStrArg( + options=["--nfc-id"], + arg_group="Properties", + help="Network Fabric Controller ARM resource id", + ) + _args_schema.nf_sku = AAZStrArg( + options=["--nf-sku"], + arg_group="Properties", + help="Fabric SKU id based on the SKU of the BoM that was ordered", + ) + _args_schema.rack_count = AAZIntArg( + options=["--rack-count"], + arg_group="Properties", + help="Number of racks associated to Network Fabric.Possible values are from 2-8.", + fmt=AAZIntArgFormat( + maximum=8, + minimum=2, + ), + ) + _args_schema.server_count_per_rack = AAZIntArg( + options=["--server-count-per-rack"], + arg_group="Properties", + help="Number of servers.Possible values are from 1-16.", + fmt=AAZIntArgFormat( + maximum=16, + minimum=1, + ), + ) + _args_schema.ts_config = AAZObjectArg( + options=["--ts-config"], + arg_group="Properties", + help="Network and credentials configuration currently applied to terminal server.", + ) + + managed_network_config = cls._args_schema.managed_network_config + managed_network_config.infrastructure_vpn_configuration = AAZObjectArg( + options=["infrastructure-vpn-configuration"], + help="Configuration for infrastructure vpn.", + required=True, + ) + managed_network_config.workload_vpn_configuration = AAZObjectArg( + options=["workload-vpn-configuration"], + help="Configuration for workload vpn.", + required=True, + ) + + infrastructure_vpn_configuration = cls._args_schema.managed_network_config.infrastructure_vpn_configuration + infrastructure_vpn_configuration.option_a_properties = AAZObjectArg( + options=["option-a-properties"], + help="Peering option A properties.", + ) + cls._build_args_option_a_properties_create(infrastructure_vpn_configuration.option_a_properties) + infrastructure_vpn_configuration.option_b_properties = AAZObjectArg( + options=["option-b-properties"], + help="Option B configuration to be used for management vpn.", + ) + cls._build_args_option_b_properties_create(infrastructure_vpn_configuration.option_b_properties) + infrastructure_vpn_configuration.peering_option = AAZStrArg( + options=["peering-option"], + help="Peering option list.", + required=True, + enum={"OptionA": "OptionA", "OptionB": "OptionB"}, + ) + + workload_vpn_configuration = cls._args_schema.managed_network_config.workload_vpn_configuration + workload_vpn_configuration.option_a_properties = AAZObjectArg( + options=["option-a-properties"], + help="Peering option A properties.", + ) + cls._build_args_option_a_properties_create(workload_vpn_configuration.option_a_properties) + workload_vpn_configuration.option_b_properties = AAZObjectArg( + options=["option-b-properties"], + help="Option B configuration to be used for management vpn.", + ) + cls._build_args_option_b_properties_create(workload_vpn_configuration.option_b_properties) + workload_vpn_configuration.peering_option = AAZStrArg( + options=["peering-option"], + help="Peering option list.", + required=True, + enum={"OptionA": "OptionA", "OptionB": "OptionB"}, + ) + + ts_config = cls._args_schema.ts_config + ts_config.password = AAZStrArg( + options=["password"], + help="Password of terminal server.", + required=True, + ) + ts_config.primary_ipv4_prefix = AAZStrArg( + options=["primary-ipv4-prefix"], + help="IPv4 Address Prefix of CE-PE interconnect links. Example : 172.31.0.0/31.", + required=True, + ) + ts_config.primary_ipv6_prefix = AAZStrArg( + options=["primary-ipv6-prefix"], + help="IPv6 Address Prefix of CE-PE interconnect links. Example : 3FFE:FFFF:0:CD30::a0/126.", + ) + ts_config.secondary_ipv4_prefix = AAZStrArg( + options=["secondary-ipv4-prefix"], + help="Secondary IPv4 Address Prefix of CE-PE interconnect links. Example : 172.31.0.20/31.", + required=True, + ) + ts_config.secondary_ipv6_prefix = AAZStrArg( + options=["secondary-ipv6-prefix"], + help="Secondary IPv6 Address Prefix of CE-PE interconnect links. Example : 3FFE:FFFF:0:CD30::a4/126.", + ) + ts_config.serial_number = AAZStrArg( + options=["serial-number"], + help="Serial Number of Terminal server.", + ) + ts_config.username = AAZStrArg( + options=["username"], + help="Username of terminal server.", + required=True, + ) + return cls._args_schema + + _args_option_a_properties_create = None + + @classmethod + def _build_args_option_a_properties_create(cls, _schema): + if cls._args_option_a_properties_create is not None: + _schema.mtu = cls._args_option_a_properties_create.mtu + _schema.peer_asn = cls._args_option_a_properties_create.peer_asn + _schema.primary_ipv4_prefix = cls._args_option_a_properties_create.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._args_option_a_properties_create.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._args_option_a_properties_create.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._args_option_a_properties_create.secondary_ipv6_prefix + _schema.vlan_id = cls._args_option_a_properties_create.vlan_id + return + + cls._args_option_a_properties_create = AAZObjectArg() + + option_a_properties_create = cls._args_option_a_properties_create + option_a_properties_create.mtu = AAZIntArg( + options=["mtu"], + help="MTU to use for option A peering. The value should be between 1500 to 9000. Default value is 1500.", + fmt=AAZIntArgFormat( + maximum=9000, + minimum=1500, + ), + ) + option_a_properties_create.peer_asn = AAZIntArg( + options=["peer-asn"], + help="Peer ASN number. The value should be between 1 to 65535. Example : 28.", + fmt=AAZIntArgFormat( + maximum=65535, + minimum=1, + ), + ) + option_a_properties_create.primary_ipv4_prefix = AAZStrArg( + options=["primary-ipv4-prefix"], + help="IPv4 Address Prefix of CE-PE interconnect links. Example : 172.31.0.0/31.", + ) + option_a_properties_create.primary_ipv6_prefix = AAZStrArg( + options=["primary-ipv6-prefix"], + help="IPv6 Address Prefix of CE-PE interconnect links. Example : 3FFE:FFFF:0:CD30::a0/126.", + ) + option_a_properties_create.secondary_ipv4_prefix = AAZStrArg( + options=["secondary-ipv4-prefix"], + help="Secondary IPv4 Address Prefix of CE-PE interconnect links. Example : 172.31.0.20/31.", + ) + option_a_properties_create.secondary_ipv6_prefix = AAZStrArg( + options=["secondary-ipv6-prefix"], + help="Secondary IPv6 Address Prefix of CE-PE interconnect links. Example : 3FFE:FFFF:0:CD30::a4/126.", + ) + option_a_properties_create.vlan_id = AAZIntArg( + options=["vlan-id"], + help="Vlan Id. The value should be between 501 to 4095. Example : 501.", + fmt=AAZIntArgFormat( + maximum=4095, + minimum=501, + ), + ) + + _schema.mtu = cls._args_option_a_properties_create.mtu + _schema.peer_asn = cls._args_option_a_properties_create.peer_asn + _schema.primary_ipv4_prefix = cls._args_option_a_properties_create.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._args_option_a_properties_create.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._args_option_a_properties_create.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._args_option_a_properties_create.secondary_ipv6_prefix + _schema.vlan_id = cls._args_option_a_properties_create.vlan_id + + _args_option_b_properties_create = None + + @classmethod + def _build_args_option_b_properties_create(cls, _schema): + if cls._args_option_b_properties_create is not None: + _schema.export_route_targets = cls._args_option_b_properties_create.export_route_targets + _schema.import_route_targets = cls._args_option_b_properties_create.import_route_targets + return + + cls._args_option_b_properties_create = AAZObjectArg() + + option_b_properties_create = cls._args_option_b_properties_create + option_b_properties_create.export_route_targets = AAZListArg( + options=["export-route-targets"], + help="Route Targets to be applied for outgoing routes from CE. Example: 65541:2001.", + required=True, + ) + option_b_properties_create.import_route_targets = AAZListArg( + options=["import-route-targets"], + help="Route Targets to be applied for incoming routes into CE. Example: 65311:2001, 65412:2001.", + required=True, + ) + + export_route_targets = cls._args_option_b_properties_create.export_route_targets + export_route_targets.Element = AAZStrArg() + + import_route_targets = cls._args_option_b_properties_create.import_route_targets + import_route_targets.Element = AAZStrArg() + + _schema.export_route_targets = cls._args_option_b_properties_create.export_route_targets + _schema.import_route_targets = cls._args_option_b_properties_create.import_route_targets + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkFabricsCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkFabricsCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("fabricASN", AAZIntType, ".fabric_asn", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("ipv4Prefix", AAZStrType, ".ipv4_prefix") + properties.set_prop("ipv6Prefix", AAZStrType, ".ipv6_prefix") + properties.set_prop("managementNetworkConfiguration", AAZObjectType, ".managed_network_config", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("networkFabricControllerId", AAZStrType, ".nfc_id", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("networkFabricSku", AAZStrType, ".nf_sku", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("rackCount", AAZIntType, ".rack_count", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("serverCountPerRack", AAZIntType, ".server_count_per_rack", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("terminalServerConfiguration", AAZObjectType, ".ts_config", typ_kwargs={"flags": {"required": True}}) + + management_network_configuration = _builder.get(".properties.managementNetworkConfiguration") + if management_network_configuration is not None: + management_network_configuration.set_prop("infrastructureVpnConfiguration", AAZObjectType, ".infrastructure_vpn_configuration", typ_kwargs={"flags": {"required": True}}) + management_network_configuration.set_prop("workloadVpnConfiguration", AAZObjectType, ".workload_vpn_configuration", typ_kwargs={"flags": {"required": True}}) + + infrastructure_vpn_configuration = _builder.get(".properties.managementNetworkConfiguration.infrastructureVpnConfiguration") + if infrastructure_vpn_configuration is not None: + _CreateHelper._build_schema_option_a_properties_create(infrastructure_vpn_configuration.set_prop("optionAProperties", AAZObjectType, ".option_a_properties")) + _CreateHelper._build_schema_option_b_properties_create(infrastructure_vpn_configuration.set_prop("optionBProperties", AAZObjectType, ".option_b_properties")) + infrastructure_vpn_configuration.set_prop("peeringOption", AAZStrType, ".peering_option", typ_kwargs={"flags": {"required": True}}) + + workload_vpn_configuration = _builder.get(".properties.managementNetworkConfiguration.workloadVpnConfiguration") + if workload_vpn_configuration is not None: + _CreateHelper._build_schema_option_a_properties_create(workload_vpn_configuration.set_prop("optionAProperties", AAZObjectType, ".option_a_properties")) + _CreateHelper._build_schema_option_b_properties_create(workload_vpn_configuration.set_prop("optionBProperties", AAZObjectType, ".option_b_properties")) + workload_vpn_configuration.set_prop("peeringOption", AAZStrType, ".peering_option", typ_kwargs={"flags": {"required": True}}) + + terminal_server_configuration = _builder.get(".properties.terminalServerConfiguration") + if terminal_server_configuration is not None: + terminal_server_configuration.set_prop("password", AAZStrType, ".password", typ_kwargs={"flags": {"required": True, "secret": True}}) + terminal_server_configuration.set_prop("primaryIpv4Prefix", AAZStrType, ".primary_ipv4_prefix", typ_kwargs={"flags": {"required": True}}) + terminal_server_configuration.set_prop("primaryIpv6Prefix", AAZStrType, ".primary_ipv6_prefix") + terminal_server_configuration.set_prop("secondaryIpv4Prefix", AAZStrType, ".secondary_ipv4_prefix", typ_kwargs={"flags": {"required": True}}) + terminal_server_configuration.set_prop("secondaryIpv6Prefix", AAZStrType, ".secondary_ipv6_prefix") + terminal_server_configuration.set_prop("serialNumber", AAZStrType, ".serial_number") + terminal_server_configuration.set_prop("username", AAZStrType, ".username", typ_kwargs={"flags": {"required": True}}) + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.annotation = AAZStrType() + properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"required": True}, + ) + properties.ipv4_prefix = AAZStrType( + serialized_name="ipv4Prefix", + ) + properties.ipv6_prefix = AAZStrType( + serialized_name="ipv6Prefix", + ) + properties.l2_isolation_domains = AAZListType( + serialized_name="l2IsolationDomains", + flags={"read_only": True}, + ) + properties.l3_isolation_domains = AAZListType( + serialized_name="l3IsolationDomains", + flags={"read_only": True}, + ) + properties.management_network_configuration = AAZObjectType( + serialized_name="managementNetworkConfiguration", + flags={"required": True}, + ) + properties.network_fabric_controller_id = AAZStrType( + serialized_name="networkFabricControllerId", + flags={"required": True}, + ) + properties.network_fabric_sku = AAZStrType( + serialized_name="networkFabricSku", + flags={"required": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rack_count = AAZIntType( + serialized_name="rackCount", + flags={"required": True}, + ) + properties.racks = AAZListType( + flags={"read_only": True}, + ) + properties.router_id = AAZStrType( + serialized_name="routerId", + flags={"read_only": True}, + ) + properties.server_count_per_rack = AAZIntType( + serialized_name="serverCountPerRack", + flags={"required": True}, + ) + properties.terminal_server_configuration = AAZObjectType( + serialized_name="terminalServerConfiguration", + flags={"required": True}, + ) + + l2_isolation_domains = cls._schema_on_200_201.properties.l2_isolation_domains + l2_isolation_domains.Element = AAZStrType() + + l3_isolation_domains = cls._schema_on_200_201.properties.l3_isolation_domains + l3_isolation_domains.Element = AAZStrType() + + management_network_configuration = cls._schema_on_200_201.properties.management_network_configuration + management_network_configuration.infrastructure_vpn_configuration = AAZObjectType( + serialized_name="infrastructureVpnConfiguration", + flags={"required": True}, + ) + management_network_configuration.workload_vpn_configuration = AAZObjectType( + serialized_name="workloadVpnConfiguration", + flags={"required": True}, + ) + + infrastructure_vpn_configuration = cls._schema_on_200_201.properties.management_network_configuration.infrastructure_vpn_configuration + infrastructure_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _CreateHelper._build_schema_option_a_properties_read(infrastructure_vpn_configuration.option_a_properties) + infrastructure_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _CreateHelper._build_schema_option_b_properties_read(infrastructure_vpn_configuration.option_b_properties) + infrastructure_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + workload_vpn_configuration = cls._schema_on_200_201.properties.management_network_configuration.workload_vpn_configuration + workload_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + workload_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + workload_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _CreateHelper._build_schema_option_a_properties_read(workload_vpn_configuration.option_a_properties) + workload_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _CreateHelper._build_schema_option_b_properties_read(workload_vpn_configuration.option_b_properties) + workload_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + racks = cls._schema_on_200_201.properties.racks + racks.Element = AAZStrType() + + terminal_server_configuration = cls._schema_on_200_201.properties.terminal_server_configuration + terminal_server_configuration.network_device_id = AAZStrType( + serialized_name="networkDeviceId", + flags={"read_only": True}, + ) + terminal_server_configuration.password = AAZStrType( + flags={"required": True, "secret": True}, + ) + terminal_server_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + terminal_server_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + terminal_server_configuration.serial_number = AAZStrType( + serialized_name="serialNumber", + ) + terminal_server_configuration.username = AAZStrType( + flags={"required": True}, + ) + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + @classmethod + def _build_schema_option_a_properties_create(cls, _builder): + if _builder is None: + return + _builder.set_prop("mtu", AAZIntType, ".mtu") + _builder.set_prop("peerASN", AAZIntType, ".peer_asn") + _builder.set_prop("primaryIpv4Prefix", AAZStrType, ".primary_ipv4_prefix") + _builder.set_prop("primaryIpv6Prefix", AAZStrType, ".primary_ipv6_prefix") + _builder.set_prop("secondaryIpv4Prefix", AAZStrType, ".secondary_ipv4_prefix") + _builder.set_prop("secondaryIpv6Prefix", AAZStrType, ".secondary_ipv6_prefix") + _builder.set_prop("vlanId", AAZIntType, ".vlan_id") + + @classmethod + def _build_schema_option_b_properties_create(cls, _builder): + if _builder is None: + return + _builder.set_prop("exportRouteTargets", AAZListType, ".export_route_targets", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("importRouteTargets", AAZListType, ".import_route_targets", typ_kwargs={"flags": {"required": True}}) + + export_route_targets = _builder.get(".exportRouteTargets") + if export_route_targets is not None: + export_route_targets.set_elements(AAZStrType, ".") + + import_route_targets = _builder.get(".importRouteTargets") + if import_route_targets is not None: + import_route_targets.set_elements(AAZStrType, ".") + + _schema_option_a_properties_read = None + + @classmethod + def _build_schema_option_a_properties_read(cls, _schema): + if cls._schema_option_a_properties_read is not None: + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + return + + cls._schema_option_a_properties_read = _schema_option_a_properties_read = AAZObjectType() + + option_a_properties_read = _schema_option_a_properties_read + option_a_properties_read.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties_read.mtu = AAZIntType() + option_a_properties_read.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + option_a_properties_read.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties_read.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties_read.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties_read.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties_read.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + bfd_configuration = _schema_option_a_properties_read.bfd_configuration + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + + _schema_option_b_properties_read = None + + @classmethod + def _build_schema_option_b_properties_read(cls, _schema): + if cls._schema_option_b_properties_read is not None: + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + return + + cls._schema_option_b_properties_read = _schema_option_b_properties_read = AAZObjectType() + + option_b_properties_read = _schema_option_b_properties_read + option_b_properties_read.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + flags={"required": True}, + ) + option_b_properties_read.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + flags={"required": True}, + ) + + export_route_targets = _schema_option_b_properties_read.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = _schema_option_b_properties_read.import_route_targets + import_route_targets.Element = AAZStrType() + + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py new file mode 100644 index 00000000000..eea21f54aec --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric delete", +) +class Delete(AAZCommand): + """Delete the Network Fabric resource. + + :example: Delete the Network Fabric + az nf fabric delete --resource-group "example-rg" --resource-name "example-fabric" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkFabricsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkFabricsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py new file mode 100644 index 00000000000..9274c43a59a --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py @@ -0,0 +1,151 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric deprovision", +) +class Deprovision(AAZCommand): + """Deprovisions the underlying hardware. + + :example: Deprovision the Network Fabric + az nf fabric deprovision --resource-group "example-rg" --resource-name "example-fabric" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/deprovision", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkFabric.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkFabricsDeprovision(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkFabricsDeprovision(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/deprovision", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + +class _DeprovisionHelper: + """Helper class for Deprovision""" + + +__all__ = ["Deprovision"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py new file mode 100644 index 00000000000..c81155bed33 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py @@ -0,0 +1,735 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric list", +) +class List(AAZCommand): + """List all Network Fabrics in the provided resource group or subscription. + + :example: List the Network Fabrics for Resource Group + az nf fabric list --resource-group "example-rg" + + :example: List the Network Fabrics for Subscription + az nf fabric list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkfabrics", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.NetworkFabricsListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.NetworkFabricsListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkFabricsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"required": True}, + ) + properties.ipv4_prefix = AAZStrType( + serialized_name="ipv4Prefix", + ) + properties.ipv6_prefix = AAZStrType( + serialized_name="ipv6Prefix", + ) + properties.l2_isolation_domains = AAZListType( + serialized_name="l2IsolationDomains", + flags={"read_only": True}, + ) + properties.l3_isolation_domains = AAZListType( + serialized_name="l3IsolationDomains", + flags={"read_only": True}, + ) + properties.management_network_configuration = AAZObjectType( + serialized_name="managementNetworkConfiguration", + flags={"required": True}, + ) + properties.network_fabric_controller_id = AAZStrType( + serialized_name="networkFabricControllerId", + flags={"required": True}, + ) + properties.network_fabric_sku = AAZStrType( + serialized_name="networkFabricSku", + flags={"required": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rack_count = AAZIntType( + serialized_name="rackCount", + flags={"required": True}, + ) + properties.racks = AAZListType( + flags={"read_only": True}, + ) + properties.router_id = AAZStrType( + serialized_name="routerId", + flags={"read_only": True}, + ) + properties.server_count_per_rack = AAZIntType( + serialized_name="serverCountPerRack", + flags={"required": True}, + ) + properties.terminal_server_configuration = AAZObjectType( + serialized_name="terminalServerConfiguration", + flags={"required": True}, + ) + + l2_isolation_domains = cls._schema_on_200.value.Element.properties.l2_isolation_domains + l2_isolation_domains.Element = AAZStrType() + + l3_isolation_domains = cls._schema_on_200.value.Element.properties.l3_isolation_domains + l3_isolation_domains.Element = AAZStrType() + + management_network_configuration = cls._schema_on_200.value.Element.properties.management_network_configuration + management_network_configuration.infrastructure_vpn_configuration = AAZObjectType( + serialized_name="infrastructureVpnConfiguration", + flags={"required": True}, + ) + management_network_configuration.workload_vpn_configuration = AAZObjectType( + serialized_name="workloadVpnConfiguration", + flags={"required": True}, + ) + + infrastructure_vpn_configuration = cls._schema_on_200.value.Element.properties.management_network_configuration.infrastructure_vpn_configuration + infrastructure_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _ListHelper._build_schema_option_a_properties_read(infrastructure_vpn_configuration.option_a_properties) + infrastructure_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _ListHelper._build_schema_option_b_properties_read(infrastructure_vpn_configuration.option_b_properties) + infrastructure_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + workload_vpn_configuration = cls._schema_on_200.value.Element.properties.management_network_configuration.workload_vpn_configuration + workload_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + workload_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + workload_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _ListHelper._build_schema_option_a_properties_read(workload_vpn_configuration.option_a_properties) + workload_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _ListHelper._build_schema_option_b_properties_read(workload_vpn_configuration.option_b_properties) + workload_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + racks = cls._schema_on_200.value.Element.properties.racks + racks.Element = AAZStrType() + + terminal_server_configuration = cls._schema_on_200.value.Element.properties.terminal_server_configuration + terminal_server_configuration.network_device_id = AAZStrType( + serialized_name="networkDeviceId", + flags={"read_only": True}, + ) + terminal_server_configuration.password = AAZStrType( + flags={"required": True, "secret": True}, + ) + terminal_server_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + terminal_server_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + terminal_server_configuration.serial_number = AAZStrType( + serialized_name="serialNumber", + ) + terminal_server_configuration.username = AAZStrType( + flags={"required": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class NetworkFabricsListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"required": True}, + ) + properties.ipv4_prefix = AAZStrType( + serialized_name="ipv4Prefix", + ) + properties.ipv6_prefix = AAZStrType( + serialized_name="ipv6Prefix", + ) + properties.l2_isolation_domains = AAZListType( + serialized_name="l2IsolationDomains", + flags={"read_only": True}, + ) + properties.l3_isolation_domains = AAZListType( + serialized_name="l3IsolationDomains", + flags={"read_only": True}, + ) + properties.management_network_configuration = AAZObjectType( + serialized_name="managementNetworkConfiguration", + flags={"required": True}, + ) + properties.network_fabric_controller_id = AAZStrType( + serialized_name="networkFabricControllerId", + flags={"required": True}, + ) + properties.network_fabric_sku = AAZStrType( + serialized_name="networkFabricSku", + flags={"required": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rack_count = AAZIntType( + serialized_name="rackCount", + flags={"required": True}, + ) + properties.racks = AAZListType( + flags={"read_only": True}, + ) + properties.router_id = AAZStrType( + serialized_name="routerId", + flags={"read_only": True}, + ) + properties.server_count_per_rack = AAZIntType( + serialized_name="serverCountPerRack", + flags={"required": True}, + ) + properties.terminal_server_configuration = AAZObjectType( + serialized_name="terminalServerConfiguration", + flags={"required": True}, + ) + + l2_isolation_domains = cls._schema_on_200.value.Element.properties.l2_isolation_domains + l2_isolation_domains.Element = AAZStrType() + + l3_isolation_domains = cls._schema_on_200.value.Element.properties.l3_isolation_domains + l3_isolation_domains.Element = AAZStrType() + + management_network_configuration = cls._schema_on_200.value.Element.properties.management_network_configuration + management_network_configuration.infrastructure_vpn_configuration = AAZObjectType( + serialized_name="infrastructureVpnConfiguration", + flags={"required": True}, + ) + management_network_configuration.workload_vpn_configuration = AAZObjectType( + serialized_name="workloadVpnConfiguration", + flags={"required": True}, + ) + + infrastructure_vpn_configuration = cls._schema_on_200.value.Element.properties.management_network_configuration.infrastructure_vpn_configuration + infrastructure_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _ListHelper._build_schema_option_a_properties_read(infrastructure_vpn_configuration.option_a_properties) + infrastructure_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _ListHelper._build_schema_option_b_properties_read(infrastructure_vpn_configuration.option_b_properties) + infrastructure_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + workload_vpn_configuration = cls._schema_on_200.value.Element.properties.management_network_configuration.workload_vpn_configuration + workload_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + workload_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + workload_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _ListHelper._build_schema_option_a_properties_read(workload_vpn_configuration.option_a_properties) + workload_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _ListHelper._build_schema_option_b_properties_read(workload_vpn_configuration.option_b_properties) + workload_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + racks = cls._schema_on_200.value.Element.properties.racks + racks.Element = AAZStrType() + + terminal_server_configuration = cls._schema_on_200.value.Element.properties.terminal_server_configuration + terminal_server_configuration.network_device_id = AAZStrType( + serialized_name="networkDeviceId", + flags={"read_only": True}, + ) + terminal_server_configuration.password = AAZStrType( + flags={"required": True, "secret": True}, + ) + terminal_server_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + terminal_server_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + terminal_server_configuration.serial_number = AAZStrType( + serialized_name="serialNumber", + ) + terminal_server_configuration.username = AAZStrType( + flags={"required": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_option_a_properties_read = None + + @classmethod + def _build_schema_option_a_properties_read(cls, _schema): + if cls._schema_option_a_properties_read is not None: + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + return + + cls._schema_option_a_properties_read = _schema_option_a_properties_read = AAZObjectType() + + option_a_properties_read = _schema_option_a_properties_read + option_a_properties_read.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties_read.mtu = AAZIntType() + option_a_properties_read.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + option_a_properties_read.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties_read.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties_read.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties_read.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties_read.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + bfd_configuration = _schema_option_a_properties_read.bfd_configuration + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + + _schema_option_b_properties_read = None + + @classmethod + def _build_schema_option_b_properties_read(cls, _schema): + if cls._schema_option_b_properties_read is not None: + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + return + + cls._schema_option_b_properties_read = _schema_option_b_properties_read = AAZObjectType() + + option_b_properties_read = _schema_option_b_properties_read + option_b_properties_read.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + flags={"required": True}, + ) + option_b_properties_read.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + flags={"required": True}, + ) + + export_route_targets = _schema_option_b_properties_read.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = _schema_option_b_properties_read.import_route_targets + import_route_targets.Element = AAZStrType() + + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py new file mode 100644 index 00000000000..f24b9c1582d --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py @@ -0,0 +1,151 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric provision", +) +class Provision(AAZCommand): + """Provisions the underlying hardware. + + :example: Provision the Network Fabric + az nf fabric provision --resource-group "example-rg" --resource-name "example-fabric" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/provision", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkFabric.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkFabricsProvision(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkFabricsProvision(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/provision", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + +class _ProvisionHelper: + """Helper class for Provision""" + + +__all__ = ["Provision"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py new file mode 100644 index 00000000000..c5ffd6c39c9 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py @@ -0,0 +1,448 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric show", +) +class Show(AAZCommand): + """Show details of the provided Network Fabric resource. + + :example: Show the Network Fabric + az nf fabric show --resource-group "example-rg" --resource-name "example-fabric" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkFabricsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkFabricsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"required": True}, + ) + properties.ipv4_prefix = AAZStrType( + serialized_name="ipv4Prefix", + ) + properties.ipv6_prefix = AAZStrType( + serialized_name="ipv6Prefix", + ) + properties.l2_isolation_domains = AAZListType( + serialized_name="l2IsolationDomains", + flags={"read_only": True}, + ) + properties.l3_isolation_domains = AAZListType( + serialized_name="l3IsolationDomains", + flags={"read_only": True}, + ) + properties.management_network_configuration = AAZObjectType( + serialized_name="managementNetworkConfiguration", + flags={"required": True}, + ) + properties.network_fabric_controller_id = AAZStrType( + serialized_name="networkFabricControllerId", + flags={"required": True}, + ) + properties.network_fabric_sku = AAZStrType( + serialized_name="networkFabricSku", + flags={"required": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rack_count = AAZIntType( + serialized_name="rackCount", + flags={"required": True}, + ) + properties.racks = AAZListType( + flags={"read_only": True}, + ) + properties.router_id = AAZStrType( + serialized_name="routerId", + flags={"read_only": True}, + ) + properties.server_count_per_rack = AAZIntType( + serialized_name="serverCountPerRack", + flags={"required": True}, + ) + properties.terminal_server_configuration = AAZObjectType( + serialized_name="terminalServerConfiguration", + flags={"required": True}, + ) + + l2_isolation_domains = cls._schema_on_200.properties.l2_isolation_domains + l2_isolation_domains.Element = AAZStrType() + + l3_isolation_domains = cls._schema_on_200.properties.l3_isolation_domains + l3_isolation_domains.Element = AAZStrType() + + management_network_configuration = cls._schema_on_200.properties.management_network_configuration + management_network_configuration.infrastructure_vpn_configuration = AAZObjectType( + serialized_name="infrastructureVpnConfiguration", + flags={"required": True}, + ) + management_network_configuration.workload_vpn_configuration = AAZObjectType( + serialized_name="workloadVpnConfiguration", + flags={"required": True}, + ) + + infrastructure_vpn_configuration = cls._schema_on_200.properties.management_network_configuration.infrastructure_vpn_configuration + infrastructure_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _ShowHelper._build_schema_option_a_properties_read(infrastructure_vpn_configuration.option_a_properties) + infrastructure_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _ShowHelper._build_schema_option_b_properties_read(infrastructure_vpn_configuration.option_b_properties) + infrastructure_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + workload_vpn_configuration = cls._schema_on_200.properties.management_network_configuration.workload_vpn_configuration + workload_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + workload_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + workload_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _ShowHelper._build_schema_option_a_properties_read(workload_vpn_configuration.option_a_properties) + workload_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _ShowHelper._build_schema_option_b_properties_read(workload_vpn_configuration.option_b_properties) + workload_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + racks = cls._schema_on_200.properties.racks + racks.Element = AAZStrType() + + terminal_server_configuration = cls._schema_on_200.properties.terminal_server_configuration + terminal_server_configuration.network_device_id = AAZStrType( + serialized_name="networkDeviceId", + flags={"read_only": True}, + ) + terminal_server_configuration.password = AAZStrType( + flags={"required": True, "secret": True}, + ) + terminal_server_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + terminal_server_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + terminal_server_configuration.serial_number = AAZStrType( + serialized_name="serialNumber", + ) + terminal_server_configuration.username = AAZStrType( + flags={"required": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_option_a_properties_read = None + + @classmethod + def _build_schema_option_a_properties_read(cls, _schema): + if cls._schema_option_a_properties_read is not None: + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + return + + cls._schema_option_a_properties_read = _schema_option_a_properties_read = AAZObjectType() + + option_a_properties_read = _schema_option_a_properties_read + option_a_properties_read.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties_read.mtu = AAZIntType() + option_a_properties_read.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + option_a_properties_read.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties_read.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties_read.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties_read.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties_read.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + bfd_configuration = _schema_option_a_properties_read.bfd_configuration + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + + _schema_option_b_properties_read = None + + @classmethod + def _build_schema_option_b_properties_read(cls, _schema): + if cls._schema_option_b_properties_read is not None: + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + return + + cls._schema_option_b_properties_read = _schema_option_b_properties_read = AAZObjectType() + + option_b_properties_read = _schema_option_b_properties_read + option_b_properties_read.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + flags={"required": True}, + ) + option_b_properties_read.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + flags={"required": True}, + ) + + export_route_targets = _schema_option_b_properties_read.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = _schema_option_b_properties_read.import_route_targets + import_route_targets.Element = AAZStrType() + + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py new file mode 100644 index 00000000000..cec21968800 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py @@ -0,0 +1,444 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabric wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkFabricsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NetworkFabricsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"required": True}, + ) + properties.ipv4_prefix = AAZStrType( + serialized_name="ipv4Prefix", + ) + properties.ipv6_prefix = AAZStrType( + serialized_name="ipv6Prefix", + ) + properties.l2_isolation_domains = AAZListType( + serialized_name="l2IsolationDomains", + flags={"read_only": True}, + ) + properties.l3_isolation_domains = AAZListType( + serialized_name="l3IsolationDomains", + flags={"read_only": True}, + ) + properties.management_network_configuration = AAZObjectType( + serialized_name="managementNetworkConfiguration", + flags={"required": True}, + ) + properties.network_fabric_controller_id = AAZStrType( + serialized_name="networkFabricControllerId", + flags={"required": True}, + ) + properties.network_fabric_sku = AAZStrType( + serialized_name="networkFabricSku", + flags={"required": True}, + ) + properties.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rack_count = AAZIntType( + serialized_name="rackCount", + flags={"required": True}, + ) + properties.racks = AAZListType( + flags={"read_only": True}, + ) + properties.router_id = AAZStrType( + serialized_name="routerId", + flags={"read_only": True}, + ) + properties.server_count_per_rack = AAZIntType( + serialized_name="serverCountPerRack", + flags={"required": True}, + ) + properties.terminal_server_configuration = AAZObjectType( + serialized_name="terminalServerConfiguration", + flags={"required": True}, + ) + + l2_isolation_domains = cls._schema_on_200.properties.l2_isolation_domains + l2_isolation_domains.Element = AAZStrType() + + l3_isolation_domains = cls._schema_on_200.properties.l3_isolation_domains + l3_isolation_domains.Element = AAZStrType() + + management_network_configuration = cls._schema_on_200.properties.management_network_configuration + management_network_configuration.infrastructure_vpn_configuration = AAZObjectType( + serialized_name="infrastructureVpnConfiguration", + flags={"required": True}, + ) + management_network_configuration.workload_vpn_configuration = AAZObjectType( + serialized_name="workloadVpnConfiguration", + flags={"required": True}, + ) + + infrastructure_vpn_configuration = cls._schema_on_200.properties.management_network_configuration.infrastructure_vpn_configuration + infrastructure_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + infrastructure_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _WaitHelper._build_schema_option_a_properties_read(infrastructure_vpn_configuration.option_a_properties) + infrastructure_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _WaitHelper._build_schema_option_b_properties_read(infrastructure_vpn_configuration.option_b_properties) + infrastructure_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + workload_vpn_configuration = cls._schema_on_200.properties.management_network_configuration.workload_vpn_configuration + workload_vpn_configuration.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + workload_vpn_configuration.network_to_network_interconnect_id = AAZStrType( + serialized_name="networkToNetworkInterconnectId", + flags={"read_only": True}, + ) + workload_vpn_configuration.option_a_properties = AAZObjectType( + serialized_name="optionAProperties", + ) + _WaitHelper._build_schema_option_a_properties_read(workload_vpn_configuration.option_a_properties) + workload_vpn_configuration.option_b_properties = AAZObjectType( + serialized_name="optionBProperties", + ) + _WaitHelper._build_schema_option_b_properties_read(workload_vpn_configuration.option_b_properties) + workload_vpn_configuration.peering_option = AAZStrType( + serialized_name="peeringOption", + flags={"required": True}, + ) + + racks = cls._schema_on_200.properties.racks + racks.Element = AAZStrType() + + terminal_server_configuration = cls._schema_on_200.properties.terminal_server_configuration + terminal_server_configuration.network_device_id = AAZStrType( + serialized_name="networkDeviceId", + flags={"read_only": True}, + ) + terminal_server_configuration.password = AAZStrType( + flags={"required": True, "secret": True}, + ) + terminal_server_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + terminal_server_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + flags={"required": True}, + ) + terminal_server_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + terminal_server_configuration.serial_number = AAZStrType( + serialized_name="serialNumber", + ) + terminal_server_configuration.username = AAZStrType( + flags={"required": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_option_a_properties_read = None + + @classmethod + def _build_schema_option_a_properties_read(cls, _schema): + if cls._schema_option_a_properties_read is not None: + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + return + + cls._schema_option_a_properties_read = _schema_option_a_properties_read = AAZObjectType() + + option_a_properties_read = _schema_option_a_properties_read + option_a_properties_read.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + option_a_properties_read.mtu = AAZIntType() + option_a_properties_read.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + option_a_properties_read.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + option_a_properties_read.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + option_a_properties_read.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + option_a_properties_read.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + option_a_properties_read.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + bfd_configuration = _schema_option_a_properties_read.bfd_configuration + bfd_configuration.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.bfd_configuration = cls._schema_option_a_properties_read.bfd_configuration + _schema.mtu = cls._schema_option_a_properties_read.mtu + _schema.peer_asn = cls._schema_option_a_properties_read.peer_asn + _schema.primary_ipv4_prefix = cls._schema_option_a_properties_read.primary_ipv4_prefix + _schema.primary_ipv6_prefix = cls._schema_option_a_properties_read.primary_ipv6_prefix + _schema.secondary_ipv4_prefix = cls._schema_option_a_properties_read.secondary_ipv4_prefix + _schema.secondary_ipv6_prefix = cls._schema_option_a_properties_read.secondary_ipv6_prefix + _schema.vlan_id = cls._schema_option_a_properties_read.vlan_id + + _schema_option_b_properties_read = None + + @classmethod + def _build_schema_option_b_properties_read(cls, _schema): + if cls._schema_option_b_properties_read is not None: + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + return + + cls._schema_option_b_properties_read = _schema_option_b_properties_read = AAZObjectType() + + option_b_properties_read = _schema_option_b_properties_read + option_b_properties_read.export_route_targets = AAZListType( + serialized_name="exportRouteTargets", + flags={"required": True}, + ) + option_b_properties_read.import_route_targets = AAZListType( + serialized_name="importRouteTargets", + flags={"required": True}, + ) + + export_route_targets = _schema_option_b_properties_read.export_route_targets + export_route_targets.Element = AAZStrType() + + import_route_targets = _schema_option_b_properties_read.import_route_targets + import_route_targets.Element = AAZStrType() + + _schema.export_route_targets = cls._schema_option_b_properties_read.export_route_targets + _schema.import_route_targets = cls._schema_option_b_properties_read.import_route_targets + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py new file mode 100644 index 00000000000..c6f010478a1 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf fabricsku", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Fabric SKU Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__init__.py new file mode 100644 index 00000000000..2df85698253 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__init__.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * +from ._show import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py new file mode 100644 index 00000000000..f31f79baa59 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py @@ -0,0 +1,214 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabricsku list", +) +class List(AAZCommand): + """List all Network Fabric SKUs in the provided subscription. + + :example: List the FabricSKU for Subscription + az nf fabricsku list --subscription + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkfabricskus", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkFabricSkusListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkFabricSkusListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.details_uri = AAZStrType( + serialized_name="detailsUri", + flags={"read_only": True}, + ) + properties.max_compute_racks = AAZIntType( + serialized_name="maxComputeRacks", + ) + properties.max_supported_ver = AAZStrType( + serialized_name="maxSupportedVer", + flags={"read_only": True}, + ) + properties.min_supported_ver = AAZStrType( + serialized_name="minSupportedVer", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.type = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py new file mode 100644 index 00000000000..8a07ce48f6a --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py @@ -0,0 +1,214 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf fabricsku show", +) +class Show(AAZCommand): + """Show details of the provided Network Fabric SKU resource. + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkfabricskus/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Fabric Sku", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkFabricSkusGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkFabricSkusGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/{networkFabricSkuName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricSkuName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.details_uri = AAZStrType( + serialized_name="detailsUri", + flags={"read_only": True}, + ) + properties.max_compute_racks = AAZIntType( + serialized_name="maxComputeRacks", + ) + properties.max_supported_ver = AAZStrType( + serialized_name="maxSupportedVer", + flags={"read_only": True}, + ) + properties.min_supported_ver = AAZStrType( + serialized_name="minSupportedVer", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.type = AAZStrType( + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py new file mode 100644 index 00000000000..c71ce5451e2 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf interface", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Interface Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__init__.py new file mode 100644 index 00000000000..f57c4ff856e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._update_admin_state import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py new file mode 100644 index 00000000000..201b4d31b0c --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py @@ -0,0 +1,173 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf interface delete", +) +class Delete(AAZCommand): + """Delete the Network Interface resource. + + :example: Delete the Network Interface + az nf interface delete -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/networkinterfaces/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.network_device_name = AAZStrArg( + options=["--device", "--network-device-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkInterfaceName", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkInterfacesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkInterfacesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.network_device_name, + required=True, + ), + **self.serialize_url_param( + "networkInterfaceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py new file mode 100644 index 00000000000..a1f1858c35e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py @@ -0,0 +1,240 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf interface list", +) +class List(AAZCommand): + """List all Network Interfaces in the provided resource group. + + :example: List the Network Interfaces for Resource Group + az nf interface list -g "example-rg" --network-device-name "example-device" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/networkinterfaces", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.network_device_name = AAZStrArg( + options=["--device", "--network-device-name"], + help="Name of the Network Device", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkInterfacesList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkInterfacesList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.network_device_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.connected_to = AAZStrType( + serialized_name="connectedTo", + flags={"read_only": True}, + ) + properties.interface_type = AAZStrType( + serialized_name="interfaceType", + flags={"read_only": True}, + ) + properties.ipv4_address = AAZStrType( + serialized_name="ipv4Address", + flags={"read_only": True}, + ) + properties.ipv6_address = AAZStrType( + serialized_name="ipv6Address", + flags={"read_only": True}, + ) + properties.physical_identifier = AAZStrType( + serialized_name="physicalIdentifier", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py new file mode 100644 index 00000000000..7251d599823 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py @@ -0,0 +1,242 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf interface show", +) +class Show(AAZCommand): + """Show details of the provided Network Interface resource. + + :example: Show the Network Interface + az nf interface show -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/networkinterfaces/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.network_device_name = AAZStrArg( + options=["--device", "--network-device-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkInterfaceName", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkInterfacesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkInterfacesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.network_device_name, + required=True, + ), + **self.serialize_url_param( + "networkInterfaceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.connected_to = AAZStrType( + serialized_name="connectedTo", + flags={"read_only": True}, + ) + properties.interface_type = AAZStrType( + serialized_name="interfaceType", + flags={"read_only": True}, + ) + properties.ipv4_address = AAZStrType( + serialized_name="ipv4Address", + flags={"read_only": True}, + ) + properties.ipv6_address = AAZStrType( + serialized_name="ipv6Address", + flags={"read_only": True}, + ) + properties.physical_identifier = AAZStrType( + serialized_name="physicalIdentifier", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py new file mode 100644 index 00000000000..79f86986bce --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py @@ -0,0 +1,204 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf interface update-admin-state", +) +class UpdateAdminState(AAZCommand): + """Update the admin state of the provided Network Interface resource. + + :example: Update admin state of Network Interface + az nf interface update-admin-state -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" --state "Enable" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/networkinterfaces/{}/updateadministrativestate", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.network_device_name = AAZStrArg( + options=["--device", "--network-device-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkInterface", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.resource_ids = AAZListArg( + options=["--resource-ids"], + arg_group="Body", + help="Network Fabrics or Network Rack resource Id.", + ) + _args_schema.state = AAZStrArg( + options=["--state"], + arg_group="Body", + help="Administrative state.", + enum={"Disable": "Disable", "Enable": "Enable"}, + ) + + resource_ids = cls._args_schema.resource_ids + resource_ids.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkInterfacesUpdateAdministrativeState(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkInterfacesUpdateAdministrativeState(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}/updateAdministrativeState", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.network_device_name, + required=True, + ), + **self.serialize_url_param( + "networkInterfaceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("resourceIds", AAZListType, ".resource_ids") + _builder.set_prop("state", AAZStrType, ".state") + + resource_ids = _builder.get(".resourceIds") + if resource_ids is not None: + resource_ids.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + pass + + +class _UpdateAdminStateHelper: + """Helper class for UpdateAdminState""" + + +__all__ = ["UpdateAdminState"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py new file mode 100644 index 00000000000..88630d44581 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py @@ -0,0 +1,238 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf interface wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/networkinterfaces/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.network_device_name = AAZStrArg( + options=["--device", "--network-device-name"], + help="Name of the Network Device", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkInterfaceName", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkInterfacesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NetworkInterfacesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkDeviceName", self.ctx.args.network_device_name, + required=True, + ), + **self.serialize_url_param( + "networkInterfaceName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.connected_to = AAZStrType( + serialized_name="connectedTo", + flags={"read_only": True}, + ) + properties.interface_type = AAZStrType( + serialized_name="interfaceType", + flags={"read_only": True}, + ) + properties.ipv4_address = AAZStrType( + serialized_name="ipv4Address", + flags={"read_only": True}, + ) + properties.ipv6_address = AAZStrType( + serialized_name="ipv6Address", + flags={"read_only": True}, + ) + properties.physical_identifier = AAZStrType( + serialized_name="physicalIdentifier", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py new file mode 100644 index 00000000000..ad23706dfb4 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf internalnetwork", +) +class __CMDGroup(AAZCommandGroup): + """Manage Internal Network Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__init__.py new file mode 100644 index 00000000000..2b037f08f76 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__init__.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update_admin_state import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py new file mode 100644 index 00000000000..ff3478da78f --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py @@ -0,0 +1,753 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf internalnetwork create", +) +class Create(AAZCommand): + """Create a Internal Network resource. + + :example: Create a Internal Network + az nf internalnetwork create --resource-group "example-rg" --l3-isolation-domain-name "example-l3domain" --resource-name "example-internalNetwork" --vlan-id 2600 --mtu 1500 --connected-ipv4-subnets '[{"prefix":"10.0.0.1/21"}, {"prefix":"10.0.0.1/22"}]' --static-route-configuration '{"ipv4Routes":[{"prefix":"10.1.0.0/24", "nextHop":["10.0.0.1","10.0.0.2"]}, {"prefix":"10.1.0.0/24", "nextHop":["10.0.0.1", "10.0.0.2"]}]}' --bgp-configuration '{"defaultRouteOriginate": "True", "allowAS": 2, "allowASOverride": "Enable", "peerASN": 65047, "ipv4ListenRangePrefixes": ["10.1.0.0/28","10.1.0.1/28"], "ipv4NeighborAddress": [{"address": "10.0.0.11"},{"address": "10.0.0.12"}]}' --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf internalnetwork create --static-route-configuration '??' + az nf internalnetwork create --static-route-configuration '{'ipv4-routes':'??'' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/internalnetworks/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the InternalNetwork", + required=True, + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.bgp_configuration = AAZObjectArg( + options=["--bgp-configuration"], + arg_group="Properties", + help="BGP configuration properties", + ) + _args_schema.connected_ipv4_subnets = AAZListArg( + options=["--connected-ipv4-subnets"], + arg_group="Properties", + help="List with object connectedIPv4Subnets.", + ) + _args_schema.connected_ipv6_subnets = AAZListArg( + options=["--connected-ipv6-subnets"], + arg_group="Properties", + help="List with object connectedIPv6Subnets.", + ) + _args_schema.export_route_policy_id = AAZStrArg( + options=["--export-route-policy-id"], + arg_group="Properties", + help="ARM resource ID of importRoutePolicy.", + ) + _args_schema.import_route_policy_id = AAZStrArg( + options=["--import-route-policy-id"], + arg_group="Properties", + help="ARM resource ID of importRoutePolicy.", + ) + _args_schema.mtu = AAZIntArg( + options=["--mtu"], + arg_group="Properties", + help="Maximum transmission unit: The value should be between 1500-9000. Default value is 1500", + fmt=AAZIntArgFormat( + maximum=9000, + minimum=1500, + ), + ) + _args_schema.static_route_configuration = AAZObjectArg( + options=["--static-route-configuration"], + arg_group="Properties", + help="staticRouteConfiguration model.", + ) + _args_schema.vlan_id = AAZIntArg( + options=["--vlan-id"], + arg_group="Properties", + help="Vlan identifier value. The value should be between 501-4095. Example: 501.", + required=True, + fmt=AAZIntArgFormat( + maximum=4095, + minimum=100, + ), + ) + + bgp_configuration = cls._args_schema.bgp_configuration + bgp_configuration.allow_as = AAZIntArg( + options=["allow-as"], + help="Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.", + default=2, + fmt=AAZIntArgFormat( + maximum=10, + minimum=0, + ), + ) + bgp_configuration.allow_as_override = AAZStrArg( + options=["allow-as-override"], + help="Enable Or Disable state.", + enum={"Disable": "Disable", "Enable": "Enable"}, + ) + bgp_configuration.annotation = AAZStrArg( + options=["annotation"], + help="Switch configuration description.", + ) + bgp_configuration.default_route_originate = AAZStrArg( + options=["default-route-originate"], + help="Enables default route to be originated when advertising routes via BGP.", + enum={"False": "False", "True": "True"}, + ) + bgp_configuration.ipv4_listen_range_prefixes = AAZListArg( + options=["ipv4-listen-range-prefixes"], + help="BGP Ipv4 ListenRange. Example: 10.1.0.0/28.", + ) + bgp_configuration.ipv4_neighbor_address = AAZListArg( + options=["ipv4-neighbor-address"], + help="Specific IPv4 address for peering.", + ) + bgp_configuration.ipv6_listen_range_prefixes = AAZListArg( + options=["ipv6-listen-range-prefixes"], + help="BGP Ipv6 ListenRange.", + ) + bgp_configuration.ipv6_neighbor_address = AAZListArg( + options=["ipv6-neighbor-address"], + help="Specific IPv6 address for peering.", + ) + bgp_configuration.peer_asn = AAZIntArg( + options=["peer-asn"], + help="Peer ASN of Network Function. The value should be between 1 to 65535. Example: 65047.", + required=True, + fmt=AAZIntArgFormat( + maximum=65535, + minimum=1, + ), + ) + + ipv4_listen_range_prefixes = cls._args_schema.bgp_configuration.ipv4_listen_range_prefixes + ipv4_listen_range_prefixes.Element = AAZStrArg() + + ipv4_neighbor_address = cls._args_schema.bgp_configuration.ipv4_neighbor_address + ipv4_neighbor_address.Element = AAZObjectArg() + + _element = cls._args_schema.bgp_configuration.ipv4_neighbor_address.Element + _element.address = AAZStrArg( + options=["address"], + help="IP Address of the IPv4NeighborAddress. Example: \"10.0.0.11\".", + ) + + ipv6_listen_range_prefixes = cls._args_schema.bgp_configuration.ipv6_listen_range_prefixes + ipv6_listen_range_prefixes.Element = AAZStrArg() + + ipv6_neighbor_address = cls._args_schema.bgp_configuration.ipv6_neighbor_address + ipv6_neighbor_address.Element = AAZObjectArg() + + _element = cls._args_schema.bgp_configuration.ipv6_neighbor_address.Element + _element.address = AAZStrArg( + options=["address"], + help="IP address of the ipv6NeighborAddress. Example: \"3FFE:FFFF:0:CD31::a4\"", + ) + + connected_ipv4_subnets = cls._args_schema.connected_ipv4_subnets + connected_ipv4_subnets.Element = AAZObjectArg() + + _element = cls._args_schema.connected_ipv4_subnets.Element + _element.annotation = AAZStrArg( + options=["annotation"], + help="Switch configuration description.", + ) + _element.prefix = AAZStrArg( + options=["prefix"], + help="IPv4 Prefix of the subnet in the VLAN. Subnet length range should be from 8 to 28. Example: \"10.0.0.1/21\"", + ) + + connected_ipv6_subnets = cls._args_schema.connected_ipv6_subnets + connected_ipv6_subnets.Element = AAZObjectArg() + + _element = cls._args_schema.connected_ipv6_subnets.Element + _element.annotation = AAZStrArg( + options=["annotation"], + help="Switch configuration description.", + ) + _element.prefix = AAZStrArg( + options=["prefix"], + help="IPv6 Prefix of the subnet in the VLAN. Subnet length range should be from 16 to 124. Example: \"3FFE:FFFF:0:CD30::a4/121\"", + ) + + static_route_configuration = cls._args_schema.static_route_configuration + static_route_configuration.ipv4_routes = AAZListArg( + options=["ipv4-routes"], + help="Static IPv4 routes configuration.", + ) + static_route_configuration.ipv6_routes = AAZListArg( + options=["ipv6-routes"], + help="Static IPv6 routes configuration.", + ) + + ipv4_routes = cls._args_schema.static_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectArg() + + _element = cls._args_schema.static_route_configuration.ipv4_routes.Element + _element.next_hop = AAZListArg( + options=["next-hop"], + help="List of next hop IPv4 addresses. Example: \"10.0.0.1\"", + required=True, + ) + _element.prefix = AAZStrArg( + options=["prefix"], + help="IPv4 prefix of the staticIpv4Route. Example: \"10.1.0.0/24\"", + required=True, + ) + + next_hop = cls._args_schema.static_route_configuration.ipv4_routes.Element.next_hop + next_hop.Element = AAZStrArg() + + ipv6_routes = cls._args_schema.static_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectArg() + + _element = cls._args_schema.static_route_configuration.ipv6_routes.Element + _element.next_hop = AAZListArg( + options=["next-hop"], + help="List of next hop IPv6 addresses. Example: \"2ffe::1\"", + required=True, + ) + _element.prefix = AAZStrArg( + options=["prefix"], + help="IPv6 prefix of the staticIPv6Route. Example: \"2fff::/64\"", + required=True, + ) + + next_hop = cls._args_schema.static_route_configuration.ipv6_routes.Element.next_hop + next_hop.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.InternalNetworksCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class InternalNetworksCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "internalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("bgpConfiguration", AAZObjectType, ".bgp_configuration") + properties.set_prop("connectedIPv4Subnets", AAZListType, ".connected_ipv4_subnets") + properties.set_prop("connectedIPv6Subnets", AAZListType, ".connected_ipv6_subnets") + properties.set_prop("exportRoutePolicyId", AAZStrType, ".export_route_policy_id") + properties.set_prop("importRoutePolicyId", AAZStrType, ".import_route_policy_id") + properties.set_prop("mtu", AAZIntType, ".mtu") + properties.set_prop("staticRouteConfiguration", AAZObjectType, ".static_route_configuration") + properties.set_prop("vlanId", AAZIntType, ".vlan_id", typ_kwargs={"flags": {"required": True}}) + + bgp_configuration = _builder.get(".properties.bgpConfiguration") + if bgp_configuration is not None: + bgp_configuration.set_prop("allowAS", AAZIntType, ".allow_as") + bgp_configuration.set_prop("allowASOverride", AAZStrType, ".allow_as_override") + bgp_configuration.set_prop("annotation", AAZStrType, ".annotation") + bgp_configuration.set_prop("defaultRouteOriginate", AAZStrType, ".default_route_originate") + bgp_configuration.set_prop("ipv4ListenRangePrefixes", AAZListType, ".ipv4_listen_range_prefixes") + bgp_configuration.set_prop("ipv4NeighborAddress", AAZListType, ".ipv4_neighbor_address") + bgp_configuration.set_prop("ipv6ListenRangePrefixes", AAZListType, ".ipv6_listen_range_prefixes") + bgp_configuration.set_prop("ipv6NeighborAddress", AAZListType, ".ipv6_neighbor_address") + bgp_configuration.set_prop("peerASN", AAZIntType, ".peer_asn", typ_kwargs={"flags": {"required": True}}) + + ipv4_listen_range_prefixes = _builder.get(".properties.bgpConfiguration.ipv4ListenRangePrefixes") + if ipv4_listen_range_prefixes is not None: + ipv4_listen_range_prefixes.set_elements(AAZStrType, ".") + + ipv4_neighbor_address = _builder.get(".properties.bgpConfiguration.ipv4NeighborAddress") + if ipv4_neighbor_address is not None: + ipv4_neighbor_address.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.bgpConfiguration.ipv4NeighborAddress[]") + if _elements is not None: + _elements.set_prop("address", AAZStrType, ".address") + + ipv6_listen_range_prefixes = _builder.get(".properties.bgpConfiguration.ipv6ListenRangePrefixes") + if ipv6_listen_range_prefixes is not None: + ipv6_listen_range_prefixes.set_elements(AAZStrType, ".") + + ipv6_neighbor_address = _builder.get(".properties.bgpConfiguration.ipv6NeighborAddress") + if ipv6_neighbor_address is not None: + ipv6_neighbor_address.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.bgpConfiguration.ipv6NeighborAddress[]") + if _elements is not None: + _elements.set_prop("address", AAZStrType, ".address") + + connected_i_pv4_subnets = _builder.get(".properties.connectedIPv4Subnets") + if connected_i_pv4_subnets is not None: + connected_i_pv4_subnets.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.connectedIPv4Subnets[]") + if _elements is not None: + _elements.set_prop("annotation", AAZStrType, ".annotation") + _elements.set_prop("prefix", AAZStrType, ".prefix") + + connected_i_pv6_subnets = _builder.get(".properties.connectedIPv6Subnets") + if connected_i_pv6_subnets is not None: + connected_i_pv6_subnets.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.connectedIPv6Subnets[]") + if _elements is not None: + _elements.set_prop("annotation", AAZStrType, ".annotation") + _elements.set_prop("prefix", AAZStrType, ".prefix") + + static_route_configuration = _builder.get(".properties.staticRouteConfiguration") + if static_route_configuration is not None: + static_route_configuration.set_prop("ipv4Routes", AAZListType, ".ipv4_routes") + static_route_configuration.set_prop("ipv6Routes", AAZListType, ".ipv6_routes") + + ipv4_routes = _builder.get(".properties.staticRouteConfiguration.ipv4Routes") + if ipv4_routes is not None: + ipv4_routes.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.staticRouteConfiguration.ipv4Routes[]") + if _elements is not None: + _elements.set_prop("nextHop", AAZListType, ".next_hop", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("prefix", AAZStrType, ".prefix", typ_kwargs={"flags": {"required": True}}) + + next_hop = _builder.get(".properties.staticRouteConfiguration.ipv4Routes[].nextHop") + if next_hop is not None: + next_hop.set_elements(AAZStrType, ".") + + ipv6_routes = _builder.get(".properties.staticRouteConfiguration.ipv6Routes") + if ipv6_routes is not None: + ipv6_routes.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.staticRouteConfiguration.ipv6Routes[]") + if _elements is not None: + _elements.set_prop("nextHop", AAZListType, ".next_hop", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("prefix", AAZStrType, ".prefix", typ_kwargs={"flags": {"required": True}}) + + next_hop = _builder.get(".properties.staticRouteConfiguration.ipv6Routes[].nextHop") + if next_hop is not None: + next_hop.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.bfd_disabled_on_resources = AAZListType( + serialized_name="bfdDisabledOnResources", + flags={"read_only": True}, + ) + properties.bfd_for_static_routes_disabled_on_resources = AAZListType( + serialized_name="bfdForStaticRoutesDisabledOnResources", + flags={"read_only": True}, + ) + properties.bgp_configuration = AAZObjectType( + serialized_name="bgpConfiguration", + ) + properties.bgp_disabled_on_resources = AAZListType( + serialized_name="bgpDisabledOnResources", + flags={"read_only": True}, + ) + properties.connected_i_pv4_subnets = AAZListType( + serialized_name="connectedIPv4Subnets", + ) + properties.connected_i_pv6_subnets = AAZListType( + serialized_name="connectedIPv6Subnets", + ) + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.mtu = AAZIntType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.static_route_configuration = AAZObjectType( + serialized_name="staticRouteConfiguration", + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_disabled_on_resources = cls._schema_on_200_201.properties.bfd_disabled_on_resources + bfd_disabled_on_resources.Element = AAZStrType() + + bfd_for_static_routes_disabled_on_resources = cls._schema_on_200_201.properties.bfd_for_static_routes_disabled_on_resources + bfd_for_static_routes_disabled_on_resources.Element = AAZStrType() + + bgp_configuration = cls._schema_on_200_201.properties.bgp_configuration + bgp_configuration.allow_as = AAZIntType( + serialized_name="allowAS", + ) + bgp_configuration.allow_as_override = AAZStrType( + serialized_name="allowASOverride", + ) + bgp_configuration.annotation = AAZStrType() + bgp_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _CreateHelper._build_schema_bfd_configuration_read(bgp_configuration.bfd_configuration) + bgp_configuration.default_route_originate = AAZStrType( + serialized_name="defaultRouteOriginate", + ) + bgp_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + bgp_configuration.ipv4_listen_range_prefixes = AAZListType( + serialized_name="ipv4ListenRangePrefixes", + ) + bgp_configuration.ipv4_neighbor_address = AAZListType( + serialized_name="ipv4NeighborAddress", + ) + bgp_configuration.ipv6_listen_range_prefixes = AAZListType( + serialized_name="ipv6ListenRangePrefixes", + ) + bgp_configuration.ipv6_neighbor_address = AAZListType( + serialized_name="ipv6NeighborAddress", + ) + bgp_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + + ipv4_listen_range_prefixes = cls._schema_on_200_201.properties.bgp_configuration.ipv4_listen_range_prefixes + ipv4_listen_range_prefixes.Element = AAZStrType() + + ipv4_neighbor_address = cls._schema_on_200_201.properties.bgp_configuration.ipv4_neighbor_address + ipv4_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.bgp_configuration.ipv4_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + ipv6_listen_range_prefixes = cls._schema_on_200_201.properties.bgp_configuration.ipv6_listen_range_prefixes + ipv6_listen_range_prefixes.Element = AAZStrType() + + ipv6_neighbor_address = cls._schema_on_200_201.properties.bgp_configuration.ipv6_neighbor_address + ipv6_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.bgp_configuration.ipv6_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + bgp_disabled_on_resources = cls._schema_on_200_201.properties.bgp_disabled_on_resources + bgp_disabled_on_resources.Element = AAZStrType() + + connected_i_pv4_subnets = cls._schema_on_200_201.properties.connected_i_pv4_subnets + connected_i_pv4_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.connected_i_pv4_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + connected_i_pv6_subnets = cls._schema_on_200_201.properties.connected_i_pv6_subnets + connected_i_pv6_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.connected_i_pv6_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + disabled_on_resources = cls._schema_on_200_201.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + static_route_configuration = cls._schema_on_200_201.properties.static_route_configuration + static_route_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _CreateHelper._build_schema_bfd_configuration_read(static_route_configuration.bfd_configuration) + static_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + static_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200_201.properties.static_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.static_route_configuration.ipv4_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200_201.properties.static_route_configuration.ipv4_routes.Element.next_hop + next_hop.Element = AAZStrType() + + ipv6_routes = cls._schema_on_200_201.properties.static_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.static_route_configuration.ipv6_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200_201.properties.static_route_configuration.ipv6_routes.Element.next_hop + next_hop.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + _schema_bfd_configuration_read = None + + @classmethod + def _build_schema_bfd_configuration_read(cls, _schema): + if cls._schema_bfd_configuration_read is not None: + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + return + + cls._schema_bfd_configuration_read = _schema_bfd_configuration_read = AAZObjectType() + + bfd_configuration_read = _schema_bfd_configuration_read + bfd_configuration_read.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration_read.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration_read.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py new file mode 100644 index 00000000000..7f9587dc477 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py @@ -0,0 +1,173 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf internalnetwork delete", +) +class Delete(AAZCommand): + """Delete the Internal Network resource. + + :example: Delete the Internal Network + az nf internalnetwork delete --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-internalnetwork" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/internalnetworks/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the InternalNetwork", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.InternalNetworksDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class InternalNetworksDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "internalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py new file mode 100644 index 00000000000..e31fbda1842 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py @@ -0,0 +1,417 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf internalnetwork list", +) +class List(AAZCommand): + """List all Internal Networks in the provided resource group. + + :example: List the Internal Networks for Resource Group + az nf internalnetwork list --resource-group "example-rg" --l3domain "example-l3domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/internalnetworks", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.InternalNetworksList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class InternalNetworksList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.bfd_disabled_on_resources = AAZListType( + serialized_name="bfdDisabledOnResources", + flags={"read_only": True}, + ) + properties.bfd_for_static_routes_disabled_on_resources = AAZListType( + serialized_name="bfdForStaticRoutesDisabledOnResources", + flags={"read_only": True}, + ) + properties.bgp_configuration = AAZObjectType( + serialized_name="bgpConfiguration", + ) + properties.bgp_disabled_on_resources = AAZListType( + serialized_name="bgpDisabledOnResources", + flags={"read_only": True}, + ) + properties.connected_i_pv4_subnets = AAZListType( + serialized_name="connectedIPv4Subnets", + ) + properties.connected_i_pv6_subnets = AAZListType( + serialized_name="connectedIPv6Subnets", + ) + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.mtu = AAZIntType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.static_route_configuration = AAZObjectType( + serialized_name="staticRouteConfiguration", + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_disabled_on_resources = cls._schema_on_200.value.Element.properties.bfd_disabled_on_resources + bfd_disabled_on_resources.Element = AAZStrType() + + bfd_for_static_routes_disabled_on_resources = cls._schema_on_200.value.Element.properties.bfd_for_static_routes_disabled_on_resources + bfd_for_static_routes_disabled_on_resources.Element = AAZStrType() + + bgp_configuration = cls._schema_on_200.value.Element.properties.bgp_configuration + bgp_configuration.allow_as = AAZIntType( + serialized_name="allowAS", + ) + bgp_configuration.allow_as_override = AAZStrType( + serialized_name="allowASOverride", + ) + bgp_configuration.annotation = AAZStrType() + bgp_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _ListHelper._build_schema_bfd_configuration_read(bgp_configuration.bfd_configuration) + bgp_configuration.default_route_originate = AAZStrType( + serialized_name="defaultRouteOriginate", + ) + bgp_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + bgp_configuration.ipv4_listen_range_prefixes = AAZListType( + serialized_name="ipv4ListenRangePrefixes", + ) + bgp_configuration.ipv4_neighbor_address = AAZListType( + serialized_name="ipv4NeighborAddress", + ) + bgp_configuration.ipv6_listen_range_prefixes = AAZListType( + serialized_name="ipv6ListenRangePrefixes", + ) + bgp_configuration.ipv6_neighbor_address = AAZListType( + serialized_name="ipv6NeighborAddress", + ) + bgp_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + + ipv4_listen_range_prefixes = cls._schema_on_200.value.Element.properties.bgp_configuration.ipv4_listen_range_prefixes + ipv4_listen_range_prefixes.Element = AAZStrType() + + ipv4_neighbor_address = cls._schema_on_200.value.Element.properties.bgp_configuration.ipv4_neighbor_address + ipv4_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.bgp_configuration.ipv4_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + ipv6_listen_range_prefixes = cls._schema_on_200.value.Element.properties.bgp_configuration.ipv6_listen_range_prefixes + ipv6_listen_range_prefixes.Element = AAZStrType() + + ipv6_neighbor_address = cls._schema_on_200.value.Element.properties.bgp_configuration.ipv6_neighbor_address + ipv6_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.bgp_configuration.ipv6_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + bgp_disabled_on_resources = cls._schema_on_200.value.Element.properties.bgp_disabled_on_resources + bgp_disabled_on_resources.Element = AAZStrType() + + connected_i_pv4_subnets = cls._schema_on_200.value.Element.properties.connected_i_pv4_subnets + connected_i_pv4_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.connected_i_pv4_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + connected_i_pv6_subnets = cls._schema_on_200.value.Element.properties.connected_i_pv6_subnets + connected_i_pv6_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.connected_i_pv6_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + disabled_on_resources = cls._schema_on_200.value.Element.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + static_route_configuration = cls._schema_on_200.value.Element.properties.static_route_configuration + static_route_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _ListHelper._build_schema_bfd_configuration_read(static_route_configuration.bfd_configuration) + static_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + static_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.value.Element.properties.static_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.static_route_configuration.ipv4_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200.value.Element.properties.static_route_configuration.ipv4_routes.Element.next_hop + next_hop.Element = AAZStrType() + + ipv6_routes = cls._schema_on_200.value.Element.properties.static_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.static_route_configuration.ipv6_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200.value.Element.properties.static_route_configuration.ipv6_routes.Element.next_hop + next_hop.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_bfd_configuration_read = None + + @classmethod + def _build_schema_bfd_configuration_read(cls, _schema): + if cls._schema_bfd_configuration_read is not None: + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + return + + cls._schema_bfd_configuration_read = _schema_bfd_configuration_read = AAZObjectType() + + bfd_configuration_read = _schema_bfd_configuration_read + bfd_configuration_read.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration_read.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration_read.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py new file mode 100644 index 00000000000..5ed44845c52 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py @@ -0,0 +1,419 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf internalnetwork show", +) +class Show(AAZCommand): + """Show details of the provided Internal Network resource. + + :example: Show the Internal Network + az nf internalnetwork show --resource-group "example-rg" --resource-name "example-internalnetwork" --l3domain "example-l3domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/internalnetworks/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the InternalNetwork", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.InternalNetworksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class InternalNetworksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "internalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.bfd_disabled_on_resources = AAZListType( + serialized_name="bfdDisabledOnResources", + flags={"read_only": True}, + ) + properties.bfd_for_static_routes_disabled_on_resources = AAZListType( + serialized_name="bfdForStaticRoutesDisabledOnResources", + flags={"read_only": True}, + ) + properties.bgp_configuration = AAZObjectType( + serialized_name="bgpConfiguration", + ) + properties.bgp_disabled_on_resources = AAZListType( + serialized_name="bgpDisabledOnResources", + flags={"read_only": True}, + ) + properties.connected_i_pv4_subnets = AAZListType( + serialized_name="connectedIPv4Subnets", + ) + properties.connected_i_pv6_subnets = AAZListType( + serialized_name="connectedIPv6Subnets", + ) + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.mtu = AAZIntType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.static_route_configuration = AAZObjectType( + serialized_name="staticRouteConfiguration", + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_disabled_on_resources = cls._schema_on_200.properties.bfd_disabled_on_resources + bfd_disabled_on_resources.Element = AAZStrType() + + bfd_for_static_routes_disabled_on_resources = cls._schema_on_200.properties.bfd_for_static_routes_disabled_on_resources + bfd_for_static_routes_disabled_on_resources.Element = AAZStrType() + + bgp_configuration = cls._schema_on_200.properties.bgp_configuration + bgp_configuration.allow_as = AAZIntType( + serialized_name="allowAS", + ) + bgp_configuration.allow_as_override = AAZStrType( + serialized_name="allowASOverride", + ) + bgp_configuration.annotation = AAZStrType() + bgp_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _ShowHelper._build_schema_bfd_configuration_read(bgp_configuration.bfd_configuration) + bgp_configuration.default_route_originate = AAZStrType( + serialized_name="defaultRouteOriginate", + ) + bgp_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + bgp_configuration.ipv4_listen_range_prefixes = AAZListType( + serialized_name="ipv4ListenRangePrefixes", + ) + bgp_configuration.ipv4_neighbor_address = AAZListType( + serialized_name="ipv4NeighborAddress", + ) + bgp_configuration.ipv6_listen_range_prefixes = AAZListType( + serialized_name="ipv6ListenRangePrefixes", + ) + bgp_configuration.ipv6_neighbor_address = AAZListType( + serialized_name="ipv6NeighborAddress", + ) + bgp_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + + ipv4_listen_range_prefixes = cls._schema_on_200.properties.bgp_configuration.ipv4_listen_range_prefixes + ipv4_listen_range_prefixes.Element = AAZStrType() + + ipv4_neighbor_address = cls._schema_on_200.properties.bgp_configuration.ipv4_neighbor_address + ipv4_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.bgp_configuration.ipv4_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + ipv6_listen_range_prefixes = cls._schema_on_200.properties.bgp_configuration.ipv6_listen_range_prefixes + ipv6_listen_range_prefixes.Element = AAZStrType() + + ipv6_neighbor_address = cls._schema_on_200.properties.bgp_configuration.ipv6_neighbor_address + ipv6_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.bgp_configuration.ipv6_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + bgp_disabled_on_resources = cls._schema_on_200.properties.bgp_disabled_on_resources + bgp_disabled_on_resources.Element = AAZStrType() + + connected_i_pv4_subnets = cls._schema_on_200.properties.connected_i_pv4_subnets + connected_i_pv4_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.connected_i_pv4_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + connected_i_pv6_subnets = cls._schema_on_200.properties.connected_i_pv6_subnets + connected_i_pv6_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.connected_i_pv6_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + static_route_configuration = cls._schema_on_200.properties.static_route_configuration + static_route_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _ShowHelper._build_schema_bfd_configuration_read(static_route_configuration.bfd_configuration) + static_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + static_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.properties.static_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.static_route_configuration.ipv4_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200.properties.static_route_configuration.ipv4_routes.Element.next_hop + next_hop.Element = AAZStrType() + + ipv6_routes = cls._schema_on_200.properties.static_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.static_route_configuration.ipv6_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200.properties.static_route_configuration.ipv6_routes.Element.next_hop + next_hop.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_bfd_configuration_read = None + + @classmethod + def _build_schema_bfd_configuration_read(cls, _schema): + if cls._schema_bfd_configuration_read is not None: + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + return + + cls._schema_bfd_configuration_read = _schema_bfd_configuration_read = AAZObjectType() + + bfd_configuration_read = _schema_bfd_configuration_read + bfd_configuration_read.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration_read.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration_read.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py new file mode 100644 index 00000000000..1e608cc2db7 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py @@ -0,0 +1,204 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf internalnetwork update-admin-state", +) +class UpdateAdminState(AAZCommand): + """Update the admin state of the provided Internal Network resource. + + :example: Update admin state of Internal Network + az nf internalnetwork update-admin-state --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-internalNetwork" --state "Enable" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/internalnetworks/{}/updateadministrativestate", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the InternalNetwork.", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.resource_ids = AAZListArg( + options=["--resource-ids"], + arg_group="Body", + help="Network Fabrics or Network Rack resource Id.", + ) + _args_schema.state = AAZStrArg( + options=["--state"], + arg_group="Body", + help="Administrative state.", + enum={"Disable": "Disable", "Enable": "Enable"}, + ) + + resource_ids = cls._args_schema.resource_ids + resource_ids.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.InternalNetworksUpdateAdministrativeState(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class InternalNetworksUpdateAdministrativeState(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateAdministrativeState", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "internalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("resourceIds", AAZListType, ".resource_ids") + _builder.set_prop("state", AAZStrType, ".state") + + resource_ids = _builder.get(".resourceIds") + if resource_ids is not None: + resource_ids.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + pass + + +class _UpdateAdminStateHelper: + """Helper class for UpdateAdminState""" + + +__all__ = ["UpdateAdminState"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py new file mode 100644 index 00000000000..f62668ea75e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py @@ -0,0 +1,415 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf internalnetwork wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/internalnetworks/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the InternalNetwork", + required=True, + id_part="child_name_1", + ) + _args_schema.l3_isolation_domain_name = AAZStrArg( + options=["--l3domain", "--l3-isolation-domain-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.InternalNetworksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class InternalNetworksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "internalNetworkName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.l3_isolation_domain_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.bfd_disabled_on_resources = AAZListType( + serialized_name="bfdDisabledOnResources", + flags={"read_only": True}, + ) + properties.bfd_for_static_routes_disabled_on_resources = AAZListType( + serialized_name="bfdForStaticRoutesDisabledOnResources", + flags={"read_only": True}, + ) + properties.bgp_configuration = AAZObjectType( + serialized_name="bgpConfiguration", + ) + properties.bgp_disabled_on_resources = AAZListType( + serialized_name="bgpDisabledOnResources", + flags={"read_only": True}, + ) + properties.connected_i_pv4_subnets = AAZListType( + serialized_name="connectedIPv4Subnets", + ) + properties.connected_i_pv6_subnets = AAZListType( + serialized_name="connectedIPv6Subnets", + ) + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + properties.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + properties.mtu = AAZIntType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.static_route_configuration = AAZObjectType( + serialized_name="staticRouteConfiguration", + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + bfd_disabled_on_resources = cls._schema_on_200.properties.bfd_disabled_on_resources + bfd_disabled_on_resources.Element = AAZStrType() + + bfd_for_static_routes_disabled_on_resources = cls._schema_on_200.properties.bfd_for_static_routes_disabled_on_resources + bfd_for_static_routes_disabled_on_resources.Element = AAZStrType() + + bgp_configuration = cls._schema_on_200.properties.bgp_configuration + bgp_configuration.allow_as = AAZIntType( + serialized_name="allowAS", + ) + bgp_configuration.allow_as_override = AAZStrType( + serialized_name="allowASOverride", + ) + bgp_configuration.annotation = AAZStrType() + bgp_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _WaitHelper._build_schema_bfd_configuration_read(bgp_configuration.bfd_configuration) + bgp_configuration.default_route_originate = AAZStrType( + serialized_name="defaultRouteOriginate", + ) + bgp_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + bgp_configuration.ipv4_listen_range_prefixes = AAZListType( + serialized_name="ipv4ListenRangePrefixes", + ) + bgp_configuration.ipv4_neighbor_address = AAZListType( + serialized_name="ipv4NeighborAddress", + ) + bgp_configuration.ipv6_listen_range_prefixes = AAZListType( + serialized_name="ipv6ListenRangePrefixes", + ) + bgp_configuration.ipv6_neighbor_address = AAZListType( + serialized_name="ipv6NeighborAddress", + ) + bgp_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + flags={"required": True}, + ) + + ipv4_listen_range_prefixes = cls._schema_on_200.properties.bgp_configuration.ipv4_listen_range_prefixes + ipv4_listen_range_prefixes.Element = AAZStrType() + + ipv4_neighbor_address = cls._schema_on_200.properties.bgp_configuration.ipv4_neighbor_address + ipv4_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.bgp_configuration.ipv4_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + ipv6_listen_range_prefixes = cls._schema_on_200.properties.bgp_configuration.ipv6_listen_range_prefixes + ipv6_listen_range_prefixes.Element = AAZStrType() + + ipv6_neighbor_address = cls._schema_on_200.properties.bgp_configuration.ipv6_neighbor_address + ipv6_neighbor_address.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.bgp_configuration.ipv6_neighbor_address.Element + _element.address = AAZStrType() + _element.operational_state = AAZStrType( + serialized_name="operationalState", + flags={"read_only": True}, + ) + + bgp_disabled_on_resources = cls._schema_on_200.properties.bgp_disabled_on_resources + bgp_disabled_on_resources.Element = AAZStrType() + + connected_i_pv4_subnets = cls._schema_on_200.properties.connected_i_pv4_subnets + connected_i_pv4_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.connected_i_pv4_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + connected_i_pv6_subnets = cls._schema_on_200.properties.connected_i_pv6_subnets + connected_i_pv6_subnets.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.connected_i_pv6_subnets.Element + _element.annotation = AAZStrType() + _element.prefix = AAZStrType() + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + static_route_configuration = cls._schema_on_200.properties.static_route_configuration + static_route_configuration.bfd_configuration = AAZObjectType( + serialized_name="bfdConfiguration", + ) + _WaitHelper._build_schema_bfd_configuration_read(static_route_configuration.bfd_configuration) + static_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + static_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.properties.static_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.static_route_configuration.ipv4_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200.properties.static_route_configuration.ipv4_routes.Element.next_hop + next_hop.Element = AAZStrType() + + ipv6_routes = cls._schema_on_200.properties.static_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.static_route_configuration.ipv6_routes.Element + _element.next_hop = AAZListType( + serialized_name="nextHop", + flags={"required": True}, + ) + _element.prefix = AAZStrType( + flags={"required": True}, + ) + + next_hop = cls._schema_on_200.properties.static_route_configuration.ipv6_routes.Element.next_hop + next_hop.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_bfd_configuration_read = None + + @classmethod + def _build_schema_bfd_configuration_read(cls, _schema): + if cls._schema_bfd_configuration_read is not None: + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + return + + cls._schema_bfd_configuration_read = _schema_bfd_configuration_read = AAZObjectType() + + bfd_configuration_read = _schema_bfd_configuration_read + bfd_configuration_read.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + bfd_configuration_read.interval = AAZIntType( + flags={"read_only": True}, + ) + bfd_configuration_read.multiplier = AAZIntType( + flags={"read_only": True}, + ) + + _schema.administrative_state = cls._schema_bfd_configuration_read.administrative_state + _schema.interval = cls._schema_bfd_configuration_read.interval + _schema.multiplier = cls._schema_bfd_configuration_read.multiplier + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py new file mode 100644 index 00000000000..f377184da9e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf ipcommunity", +) +class __CMDGroup(AAZCommandGroup): + """Manage Ip Community Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py new file mode 100644 index 00000000000..1e8f4a4c368 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py @@ -0,0 +1,338 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipcommunity create", +) +class Create(AAZCommand): + """Create a Ip Community resource. + + :example: Create a Ip Community + az nf ipcommunity create --resource-group "example-rg" --location "westus3" --resource-name "example-ipcommunity" --action "Deny" --well-known-communities "LocalAS" "GShut" --community-members "100:200" "101:201" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipcommunities/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Community", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.action = AAZStrArg( + options=["--action"], + arg_group="Properties", + help="Action to be taken on the configuration. Example: Permit | Deny.", + enum={"Deny": "Deny", "Permit": "Permit"}, + ) + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.community_members = AAZListArg( + options=["--community-members"], + arg_group="Properties", + help="List the communityMembers of IP Community.", + ) + _args_schema.well_known_communities = AAZListArg( + options=["--well-known-communities"], + arg_group="Properties", + help="Supported well known Community List.", + fmt=AAZListArgFormat( + unique=True, + ), + ) + + community_members = cls._args_schema.community_members + community_members.Element = AAZStrArg() + + well_known_communities = cls._args_schema.well_known_communities + well_known_communities.Element = AAZStrArg( + enum={"GShut": "GShut", "Internet": "Internet", "LocalAS": "LocalAS", "NoAdvertise": "NoAdvertise", "NoExport": "NoExport"}, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.IpCommunitiesCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class IpCommunitiesCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("action", AAZStrType, ".action", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("communityMembers", AAZListType, ".community_members", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("wellKnownCommunities", AAZListType, ".well_known_communities") + + community_members = _builder.get(".properties.communityMembers") + if community_members is not None: + community_members.set_elements(AAZStrType, ".") + + well_known_communities = _builder.get(".properties.wellKnownCommunities") + if well_known_communities is not None: + well_known_communities.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.community_members = AAZListType( + serialized_name="communityMembers", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.well_known_communities = AAZListType( + serialized_name="wellKnownCommunities", + ) + + community_members = cls._schema_on_200_201.properties.community_members + community_members.Element = AAZStrType() + + well_known_communities = cls._schema_on_200_201.properties.well_known_communities + well_known_communities.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py new file mode 100644 index 00000000000..82ac07669ab --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipcommunity delete", +) +class Delete(AAZCommand): + """Delete the Ip Community resource. + + :example: Delete the Ip Community + az nf ipcommunity delete --resource-group "example-rg" --resource-name "example-ipcommunity" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipcommunities/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Community", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.IpCommunitiesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class IpCommunitiesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py new file mode 100644 index 00000000000..55d1ea4e402 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py @@ -0,0 +1,389 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipcommunity list", +) +class List(AAZCommand): + """List all Ip Communities in the provided resource group or subscription. + + :example: List the Ip Communities for Resource Group + az nf ipcommunity list --resource-group "example-rg" + + :example: List the Ip Communities for Subscription + az nf ipcommunity list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/ipcommunities", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipcommunities", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.IpCommunitiesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.IpCommunitiesListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class IpCommunitiesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.community_members = AAZListType( + serialized_name="communityMembers", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.well_known_communities = AAZListType( + serialized_name="wellKnownCommunities", + ) + + community_members = cls._schema_on_200.value.Element.properties.community_members + community_members.Element = AAZStrType() + + well_known_communities = cls._schema_on_200.value.Element.properties.well_known_communities + well_known_communities.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class IpCommunitiesListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipCommunities", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.community_members = AAZListType( + serialized_name="communityMembers", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.well_known_communities = AAZListType( + serialized_name="wellKnownCommunities", + ) + + community_members = cls._schema_on_200.value.Element.properties.community_members + community_members.Element = AAZStrType() + + well_known_communities = cls._schema_on_200.value.Element.properties.well_known_communities + well_known_communities.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py new file mode 100644 index 00000000000..4029653e9fe --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py @@ -0,0 +1,231 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipcommunity show", +) +class Show(AAZCommand): + """Show details of the provided Ip Community resource. + + :example: Show the Ip Community + az nf ipcommunity show --resource-group "example-rg" --resource-name "example-ipcommunity" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipcommunities/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Community", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.IpCommunitiesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class IpCommunitiesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.community_members = AAZListType( + serialized_name="communityMembers", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.well_known_communities = AAZListType( + serialized_name="wellKnownCommunities", + ) + + community_members = cls._schema_on_200.properties.community_members + community_members.Element = AAZStrType() + + well_known_communities = cls._schema_on_200.properties.well_known_communities + well_known_communities.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py new file mode 100644 index 00000000000..bd3e62fee42 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py @@ -0,0 +1,227 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipcommunity wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipcommunities/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Community", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.IpCommunitiesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class IpCommunitiesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.community_members = AAZListType( + serialized_name="communityMembers", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.well_known_communities = AAZListType( + serialized_name="wellKnownCommunities", + ) + + community_members = cls._schema_on_200.properties.community_members + community_members.Element = AAZStrType() + + well_known_communities = cls._schema_on_200.properties.well_known_communities + well_known_communities.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py new file mode 100644 index 00000000000..3a81b17e273 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf ipextendedcommunity", +) +class __CMDGroup(AAZCommandGroup): + """Manage Ip Extended Community Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py new file mode 100644 index 00000000000..f9d1ed81e43 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py @@ -0,0 +1,314 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipextendedcommunity create", +) +class Create(AAZCommand): + """Create a Ip Extended Community resource. + + :example: Create a Ip Extended Community + az nf ipextendedcommunity create --resource-group "example-rg" --location "westus3" --resource-name "example-ipextendedcommunity" --action "Deny" --route-targets "1024:219" "1001:200" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipextendedcommunities/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Extended Community", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.action = AAZStrArg( + options=["--action"], + arg_group="Properties", + help="Action to be taken on the configuration. Example: Permit | Deny.", + enum={"Deny": "Deny", "Permit": "Permit"}, + ) + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.route_targets = AAZListArg( + options=["--route-targets"], + arg_group="Properties", + help="Route Target List.The expected formats are ASN(plain):NN >> example 4294967294:50, ASN.ASN:NN >> example 65533.65333:40, IP-address:NN >> example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.", + ) + + route_targets = cls._args_schema.route_targets + route_targets.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.IpExtendedCommunitiesCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class IpExtendedCommunitiesCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipExtendedCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("action", AAZStrType, ".action", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("routeTargets", AAZListType, ".route_targets", typ_kwargs={"flags": {"required": True}}) + + route_targets = _builder.get(".properties.routeTargets") + if route_targets is not None: + route_targets.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.route_targets = AAZListType( + serialized_name="routeTargets", + flags={"required": True}, + ) + + route_targets = cls._schema_on_200_201.properties.route_targets + route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py new file mode 100644 index 00000000000..b04052797a8 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipextendedcommunity delete", +) +class Delete(AAZCommand): + """Delete the Ip Extended Community resource. + + :example: Delete the Ip Extended Community + az nf ipextendedcommunity delete --resource-group "example-rg" --resource-name "example-ipextendedcommunity" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipextendedcommunities/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Extended Community", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.IpExtendedCommunitiesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class IpExtendedCommunitiesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipExtendedCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py new file mode 100644 index 00000000000..9fcb04b0131 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py @@ -0,0 +1,377 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipextendedcommunity list", +) +class List(AAZCommand): + """List all Ip Extended Communities in the provided resource group or subscription. + + :example: List the Ip Extended Communities for Resource Group + az nf ipextendedcommunity list --resource-group "example-rg" + + :example: List the Ip Extended Communities for Subscription + az nf ipextendedcommunity list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/ipextendedcommunities", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipextendedcommunities", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.IpExtendedCommunitiesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.IpExtendedCommunitiesListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class IpExtendedCommunitiesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.route_targets = AAZListType( + serialized_name="routeTargets", + flags={"required": True}, + ) + + route_targets = cls._schema_on_200.value.Element.properties.route_targets + route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class IpExtendedCommunitiesListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.route_targets = AAZListType( + serialized_name="routeTargets", + flags={"required": True}, + ) + + route_targets = cls._schema_on_200.value.Element.properties.route_targets + route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py new file mode 100644 index 00000000000..10fb8861a00 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py @@ -0,0 +1,225 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipextendedcommunity show", +) +class Show(AAZCommand): + """Show details of the provided Ip Extended Community resource. + + :example: Show the Ip Community + az nf ipextendedcommunity show --resource-group "example-rg" --resource-name "example-ipextendedcommunity" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipextendedcommunities/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Extended Community", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.IpExtendedCommunitiesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class IpExtendedCommunitiesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipExtendedCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.route_targets = AAZListType( + serialized_name="routeTargets", + flags={"required": True}, + ) + + route_targets = cls._schema_on_200.properties.route_targets + route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py new file mode 100644 index 00000000000..6b522cdb904 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py @@ -0,0 +1,221 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipextendedcommunity wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipextendedcommunities/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Extended Community", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.IpExtendedCommunitiesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class IpExtendedCommunitiesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipExtendedCommunityName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.action = AAZStrType( + flags={"required": True}, + ) + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.route_targets = AAZListType( + serialized_name="routeTargets", + flags={"required": True}, + ) + + route_targets = cls._schema_on_200.properties.route_targets + route_targets.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py new file mode 100644 index 00000000000..ca9f6c9fb98 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf ipprefix", +) +class __CMDGroup(AAZCommandGroup): + """Manage Ip Prefix Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py new file mode 100644 index 00000000000..2872bbcfc17 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py @@ -0,0 +1,368 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipprefix create", +) +class Create(AAZCommand): + """Create a Ip Prefix resource. + + :example: Create a Ip Prefix + az nf ipprefix create --resource-group "example-rg" --location "westus3" --resource-name "example-ipprefix" --ip-prefix-rules '[{"action": "Permit", "sequenceNumber": 1234, "networkPrefix": "1.1.1.0/24", "condition": "EqualTo", "subnetMaskLength": 10}]' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf ipprefix create --ip-prefix-rules '??' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipprefixes/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Prefix", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.ip_prefix_rules = AAZListArg( + options=["--ip-prefix-rules"], + arg_group="Properties", + help="IpPrefix contains the list of IP PrefixRules objects.", + required=True, + ) + + ip_prefix_rules = cls._args_schema.ip_prefix_rules + ip_prefix_rules.Element = AAZObjectArg() + + _element = cls._args_schema.ip_prefix_rules.Element + _element.action = AAZStrArg( + options=["action"], + help="Action to be taken on the configuration. Example: Permit | Deny.", + required=True, + enum={"Deny": "Deny", "Permit": "Permit"}, + ) + _element.condition = AAZStrArg( + options=["condition"], + help="Specify prefix-list bounds.", + enum={"EqualTo": "EqualTo", "GreaterThanOrEqualTo": "GreaterThanOrEqualTo", "LesserThanOrEqualTo": "LesserThanOrEqualTo"}, + ) + _element.network_prefix = AAZStrArg( + options=["network-prefix"], + help="Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126 ", + required=True, + ) + _element.sequence_number = AAZIntArg( + options=["sequence-number"], + help="Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored. The value should be between 1 to 4294967295.", + required=True, + fmt=AAZIntArgFormat( + maximum=4294967295, + minimum=1, + ), + ) + _element.subnet_mask_length = AAZIntArg( + options=["subnet-mask-length"], + help="SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.", + fmt=AAZIntArgFormat( + maximum=128, + minimum=1, + ), + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.IpPrefixesCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class IpPrefixesCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipPrefixName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("ipPrefixRules", AAZListType, ".ip_prefix_rules", typ_kwargs={"flags": {"required": True}}) + + ip_prefix_rules = _builder.get(".properties.ipPrefixRules") + if ip_prefix_rules is not None: + ip_prefix_rules.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.ipPrefixRules[]") + if _elements is not None: + _elements.set_prop("action", AAZStrType, ".action", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("condition", AAZStrType, ".condition") + _elements.set_prop("networkPrefix", AAZStrType, ".network_prefix", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("sequenceNumber", AAZIntType, ".sequence_number", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("subnetMaskLength", AAZIntType, ".subnet_mask_length") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.annotation = AAZStrType() + properties.ip_prefix_rules = AAZListType( + serialized_name="ipPrefixRules", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + ip_prefix_rules = cls._schema_on_200_201.properties.ip_prefix_rules + ip_prefix_rules.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.ip_prefix_rules.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.condition = AAZStrType() + _element.network_prefix = AAZStrType( + serialized_name="networkPrefix", + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.subnet_mask_length = AAZIntType( + serialized_name="subnetMaskLength", + ) + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py new file mode 100644 index 00000000000..16e9a0b8423 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipprefix delete", +) +class Delete(AAZCommand): + """Delete the Ip Prefix resource. + + :example: Delete the Ip Prefix + az nf ipprefix delete --resource-group "example-rg" --resource-name "example-ipprefix" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipprefixes/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Prefix", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.IpPrefixesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class IpPrefixesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipPrefixName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py new file mode 100644 index 00000000000..eac3e4206e9 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py @@ -0,0 +1,405 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipprefix list", +) +class List(AAZCommand): + """List all Ip Prefixes in the provided resource group or subscription. + + :example: List the Ip Prefixes for Resource Group + az nf ipprefix list --resource-group "example-rg" + + :example: List the Ip Prefixes for Subscription + az nf ipprefix list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/ipprefixes", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipprefixes", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.IpPrefixesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.IpPrefixesListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class IpPrefixesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.ip_prefix_rules = AAZListType( + serialized_name="ipPrefixRules", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + ip_prefix_rules = cls._schema_on_200.value.Element.properties.ip_prefix_rules + ip_prefix_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.ip_prefix_rules.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.condition = AAZStrType() + _element.network_prefix = AAZStrType( + serialized_name="networkPrefix", + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.subnet_mask_length = AAZIntType( + serialized_name="subnetMaskLength", + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class IpPrefixesListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.ip_prefix_rules = AAZListType( + serialized_name="ipPrefixRules", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + ip_prefix_rules = cls._schema_on_200.value.Element.properties.ip_prefix_rules + ip_prefix_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.ip_prefix_rules.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.condition = AAZStrType() + _element.network_prefix = AAZStrType( + serialized_name="networkPrefix", + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.subnet_mask_length = AAZIntType( + serialized_name="subnetMaskLength", + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py new file mode 100644 index 00000000000..395c88e37de --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py @@ -0,0 +1,239 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipprefix show", +) +class Show(AAZCommand): + """Show details of the provided Ip Prefix resource. + + :example: Show the Ip Prefix + az nf ipprefix show --resource-group "example-rg" --resource-name "example-ipprefix" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipprefixes/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Prefix", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.IpPrefixesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class IpPrefixesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipPrefixName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.ip_prefix_rules = AAZListType( + serialized_name="ipPrefixRules", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + ip_prefix_rules = cls._schema_on_200.properties.ip_prefix_rules + ip_prefix_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.ip_prefix_rules.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.condition = AAZStrType() + _element.network_prefix = AAZStrType( + serialized_name="networkPrefix", + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.subnet_mask_length = AAZIntType( + serialized_name="subnetMaskLength", + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py new file mode 100644 index 00000000000..15b3860e90f --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py @@ -0,0 +1,235 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf ipprefix wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/ipprefixes/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the IP Prefix", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.IpPrefixesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class IpPrefixesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "ipPrefixName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.ip_prefix_rules = AAZListType( + serialized_name="ipPrefixRules", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + ip_prefix_rules = cls._schema_on_200.properties.ip_prefix_rules + ip_prefix_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.ip_prefix_rules.Element + _element.action = AAZStrType( + flags={"required": True}, + ) + _element.condition = AAZStrType() + _element.network_prefix = AAZStrType( + serialized_name="networkPrefix", + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + _element.subnet_mask_length = AAZIntType( + serialized_name="subnetMaskLength", + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py new file mode 100644 index 00000000000..37131f15edb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf l2domain", +) +class __CMDGroup(AAZCommandGroup): + """Manage L2 Isolation Domain Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__init__.py new file mode 100644 index 00000000000..2b037f08f76 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__init__.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update_admin_state import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py new file mode 100644 index 00000000000..47debd95b24 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py @@ -0,0 +1,322 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l2domain create", +) +class Create(AAZCommand): + """Create a L2 Isolation Domain resource. + + :example: Create a L2 Isolation Domain + az nf l2domain create --resource-group "example-rg" --resource-name "example-l2domain" --location "westus3" --nf-id "/subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/NetworkFabrics/example-fabricName" --vlan-id 501 --mtu 1500 + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l2isolationdomains/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L2 Isolation Domain", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.mtu = AAZIntArg( + options=["--mtu"], + arg_group="Properties", + help="Maximum transmission unit: The value should be between 1500-9000. Default value is 1500", + ) + _args_schema.nf_id = AAZStrArg( + options=["--nf-id"], + arg_group="Properties", + help="Resource ID of the Network Fabric resource", + ) + _args_schema.vlan_id = AAZIntArg( + options=["--vlan-id"], + arg_group="Properties", + help="Vlan identifier value. The value should be between 501-4095. Example: 501.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.L2IsolationDomainsCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class L2IsolationDomainsCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l2IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("mtu", AAZIntType, ".mtu") + properties.set_prop("networkFabricId", AAZStrType, ".nf_id", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("vlanId", AAZIntType, ".vlan_id", typ_kwargs={"flags": {"required": True}}) + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.mtu = AAZIntType() + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + disabled_on_resources = cls._schema_on_200_201.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py new file mode 100644 index 00000000000..86f386a86ef --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l2domain delete", +) +class Delete(AAZCommand): + """Delete the L2 Isolation Domain resource. + + :example: Delete the L2 Isolation Domain + az nf l2domain delete --resource-group "example-rg" --resource-name "example-l2domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l2isolationdomains/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L2 Isolation Domain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.L2IsolationDomainsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class L2IsolationDomainsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l2IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py new file mode 100644 index 00000000000..6a06657020b --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py @@ -0,0 +1,397 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l2domain list", +) +class List(AAZCommand): + """List all L2 Isolation Domains in the provided resource group or subscription. + + :example: List the L2 Isolation Domains for Resource Group + az nf l2domain list --resource-group "example-rg" + + :example: List the L2 Isolation Domains for Subscription + az nf l2domain list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/l2isolationdomains", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l2isolationdomains", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.L2IsolationDomainsListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.L2IsolationDomainsListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class L2IsolationDomainsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.mtu = AAZIntType() + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + disabled_on_resources = cls._schema_on_200.value.Element.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class L2IsolationDomainsListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.mtu = AAZIntType() + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + disabled_on_resources = cls._schema_on_200.value.Element.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py new file mode 100644 index 00000000000..8d27371907e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py @@ -0,0 +1,235 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l2domain show", +) +class Show(AAZCommand): + """Show details of the provided L2 Isolation Domain resource. + + :example: Show the L2 Isolation Domain + az nf l2domain show --resource-group "example-rg" --resource-name "example-l2domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l2isolationdomains/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L2 Isolation Domain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.L2IsolationDomainsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class L2IsolationDomainsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l2IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.mtu = AAZIntType() + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py new file mode 100644 index 00000000000..25b598a2a4f --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py @@ -0,0 +1,194 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l2domain update-admin-state", +) +class UpdateAdminState(AAZCommand): + """Enables isolation domain across the fabric or on specified racks. + + :example: Update admin state of L2 Isolation Domain + az nf l2domain update-admin-state --resource-group "example-rg" --resource-name "example-l2domain" --state "Enable" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l2isolationdomains/{}/updateadministrativestate", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L2IsolationDomain.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.resource_ids = AAZListArg( + options=["--resource-ids"], + arg_group="Body", + help="Network Fabrics or Network Rack resource Id.", + ) + _args_schema.state = AAZStrArg( + options=["--state"], + arg_group="Body", + help="Administrative state.", + enum={"Disable": "Disable", "Enable": "Enable"}, + ) + + resource_ids = cls._args_schema.resource_ids + resource_ids.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.L2IsolationDomainsUpdateAdministrativeState(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class L2IsolationDomainsUpdateAdministrativeState(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/updateAdministrativeState", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l2IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("resourceIds", AAZListType, ".resource_ids") + _builder.set_prop("state", AAZStrType, ".state") + + resource_ids = _builder.get(".resourceIds") + if resource_ids is not None: + resource_ids.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + pass + + +class _UpdateAdminStateHelper: + """Helper class for UpdateAdminState""" + + +__all__ = ["UpdateAdminState"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py new file mode 100644 index 00000000000..e87b9668647 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py @@ -0,0 +1,231 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l2domain wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l2isolationdomains/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L2 Isolation Domain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.L2IsolationDomainsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class L2IsolationDomainsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l2IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.annotation = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.mtu = AAZIntType() + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.vlan_id = AAZIntType( + serialized_name="vlanId", + flags={"required": True}, + ) + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py new file mode 100644 index 00000000000..76c72017711 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf l3domain", +) +class __CMDGroup(AAZCommandGroup): + """Manage L3 Isolation Domain Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__init__.py new file mode 100644 index 00000000000..2b037f08f76 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__init__.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update_admin_state import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py new file mode 100644 index 00000000000..514ab6a5446 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py @@ -0,0 +1,448 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l3domain create", +) +class Create(AAZCommand): + """Create a L3 Isolation Domain resource. + + :example: Create a L3 Isolation Domain + az nf l3domain create --resource-group "example-rg" --resource-name "example-l3domain" --location "westus3" --nf-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabricName" --redistribute-connected-subnets "True" --redistribute-static-routes "True" --aggregate-route-configuration '{"ipv4Routes":[{"prefix": "10.0.0.1/28"}, {"prefix": "10.0.0.2/28"}], "ipv6Routes":[{"prefix": "2fff::/64"}, {"prefix": "2fff::/65"}]}' --connected-subnet-route-policy '{"exportRoutePolicyId": ""}' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf l3domain create --connected-subnet-route-policy '??' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L3 Isolation Domain", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.aggregate_route_configuration = AAZObjectArg( + options=["--aggregate-route-configuration"], + arg_group="Properties", + help="List of Ipv4 and Ipv6 route configurations.", + ) + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.connected_subnet_route_policy = AAZObjectArg( + options=["--connected-subnet-route-policy"], + arg_group="Properties", + help="Connected Subnet RoutePolicy", + ) + _args_schema.description = AAZStrArg( + options=["--description"], + arg_group="Properties", + help="L3 Isolation Domain description.", + ) + _args_schema.nf_id = AAZStrArg( + options=["--nf-id"], + arg_group="Properties", + help="Resource ID of the Network Fabric resource", + ) + _args_schema.redistribute_connected_subnets = AAZStrArg( + options=["--redistribute-connected-subnets"], + arg_group="Properties", + help="Advertise Connected Subnets. Default Value is True. Ex: \"True\" | \"False\".", + enum={"False": "False", "True": "True"}, + ) + _args_schema.redistribute_static_routes = AAZStrArg( + options=["--redistribute-static-routes"], + arg_group="Properties", + help="Advertise Static Routes. Default Value is False. Ex: \"True\" | \"False\".", + enum={"False": "False", "True": "True"}, + ) + + aggregate_route_configuration = cls._args_schema.aggregate_route_configuration + aggregate_route_configuration.ipv4_routes = AAZListArg( + options=["ipv4-routes"], + help="List of Ipv4Route prefixes.", + ) + aggregate_route_configuration.ipv6_routes = AAZListArg( + options=["ipv6-routes"], + help="List of Ipv6Routes prefixes.", + ) + + ipv4_routes = cls._args_schema.aggregate_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectArg() + + _element = cls._args_schema.aggregate_route_configuration.ipv4_routes.Element + _element.prefix = AAZStrArg( + options=["prefix"], + help="IPv4 Prefix of the aggregate Ipv4Route.", + ) + + ipv6_routes = cls._args_schema.aggregate_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectArg() + + _element = cls._args_schema.aggregate_route_configuration.ipv6_routes.Element + _element.prefix = AAZStrArg( + options=["prefix"], + help="IPv6 Prefix of the aggregate IPv6 Route.", + ) + + connected_subnet_route_policy = cls._args_schema.connected_subnet_route_policy + connected_subnet_route_policy.export_route_policy_id = AAZStrArg( + options=["export-route-policy-id"], + help="exportRoutePolicyId value.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.L3IsolationDomainsCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class L3IsolationDomainsCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("aggregateRouteConfiguration", AAZObjectType, ".aggregate_route_configuration") + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("connectedSubnetRoutePolicy", AAZObjectType, ".connected_subnet_route_policy") + properties.set_prop("description", AAZStrType, ".description") + properties.set_prop("networkFabricId", AAZStrType, ".nf_id", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("redistributeConnectedSubnets", AAZStrType, ".redistribute_connected_subnets") + properties.set_prop("redistributeStaticRoutes", AAZStrType, ".redistribute_static_routes") + + aggregate_route_configuration = _builder.get(".properties.aggregateRouteConfiguration") + if aggregate_route_configuration is not None: + aggregate_route_configuration.set_prop("ipv4Routes", AAZListType, ".ipv4_routes") + aggregate_route_configuration.set_prop("ipv6Routes", AAZListType, ".ipv6_routes") + + ipv4_routes = _builder.get(".properties.aggregateRouteConfiguration.ipv4Routes") + if ipv4_routes is not None: + ipv4_routes.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.aggregateRouteConfiguration.ipv4Routes[]") + if _elements is not None: + _elements.set_prop("prefix", AAZStrType, ".prefix") + + ipv6_routes = _builder.get(".properties.aggregateRouteConfiguration.ipv6Routes") + if ipv6_routes is not None: + ipv6_routes.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.aggregateRouteConfiguration.ipv6Routes[]") + if _elements is not None: + _elements.set_prop("prefix", AAZStrType, ".prefix") + + connected_subnet_route_policy = _builder.get(".properties.connectedSubnetRoutePolicy") + if connected_subnet_route_policy is not None: + connected_subnet_route_policy.set_prop("exportRoutePolicyId", AAZStrType, ".export_route_policy_id") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.aggregate_route_configuration = AAZObjectType( + serialized_name="aggregateRouteConfiguration", + ) + properties.annotation = AAZStrType() + properties.connected_subnet_route_policy = AAZObjectType( + serialized_name="connectedSubnetRoutePolicy", + ) + properties.description = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.option_b_disabled_on_resources = AAZListType( + serialized_name="optionBDisabledOnResources", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.redistribute_connected_subnets = AAZStrType( + serialized_name="redistributeConnectedSubnets", + ) + properties.redistribute_static_routes = AAZStrType( + serialized_name="redistributeStaticRoutes", + ) + + aggregate_route_configuration = cls._schema_on_200_201.properties.aggregate_route_configuration + aggregate_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + aggregate_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200_201.properties.aggregate_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.aggregate_route_configuration.ipv4_routes.Element + _element.prefix = AAZStrType() + + ipv6_routes = cls._schema_on_200_201.properties.aggregate_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.aggregate_route_configuration.ipv6_routes.Element + _element.prefix = AAZStrType() + + connected_subnet_route_policy = cls._schema_on_200_201.properties.connected_subnet_route_policy + connected_subnet_route_policy.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + connected_subnet_route_policy.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + + disabled_on_resources = cls._schema_on_200_201.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_b_disabled_on_resources = cls._schema_on_200_201.properties.option_b_disabled_on_resources + option_b_disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py new file mode 100644 index 00000000000..39fd57b4e55 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l3domain delete", +) +class Delete(AAZCommand): + """Delete the L3 Isolation Domain resource. + + :example: Delete the L3 Isolation Domain + az nf l3domain delete --resource-group "example-rg" --resource-name "example-l3domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L3 Isolation Domain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.L3IsolationDomainsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class L3IsolationDomainsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py new file mode 100644 index 00000000000..1bf2b3c348a --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py @@ -0,0 +1,485 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l3domain list", +) +class List(AAZCommand): + """List all L3 Isolation Domains in the provided resource group or subscription. + + :example: List the L3 Isolation Domains for Resource Group + az nf l3domain list --resource-group "example-rg" + + :example: List the L3 Isolation Domains for Subscription + az nf l3domain list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/l3isolationdomains", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.L3IsolationDomainsListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.L3IsolationDomainsListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class L3IsolationDomainsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.aggregate_route_configuration = AAZObjectType( + serialized_name="aggregateRouteConfiguration", + ) + properties.annotation = AAZStrType() + properties.connected_subnet_route_policy = AAZObjectType( + serialized_name="connectedSubnetRoutePolicy", + ) + properties.description = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.option_b_disabled_on_resources = AAZListType( + serialized_name="optionBDisabledOnResources", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.redistribute_connected_subnets = AAZStrType( + serialized_name="redistributeConnectedSubnets", + ) + properties.redistribute_static_routes = AAZStrType( + serialized_name="redistributeStaticRoutes", + ) + + aggregate_route_configuration = cls._schema_on_200.value.Element.properties.aggregate_route_configuration + aggregate_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + aggregate_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv4_routes.Element + _element.prefix = AAZStrType() + + ipv6_routes = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv6_routes.Element + _element.prefix = AAZStrType() + + connected_subnet_route_policy = cls._schema_on_200.value.Element.properties.connected_subnet_route_policy + connected_subnet_route_policy.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + connected_subnet_route_policy.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + + disabled_on_resources = cls._schema_on_200.value.Element.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_b_disabled_on_resources = cls._schema_on_200.value.Element.properties.option_b_disabled_on_resources + option_b_disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class L3IsolationDomainsListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.aggregate_route_configuration = AAZObjectType( + serialized_name="aggregateRouteConfiguration", + ) + properties.annotation = AAZStrType() + properties.connected_subnet_route_policy = AAZObjectType( + serialized_name="connectedSubnetRoutePolicy", + ) + properties.description = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.option_b_disabled_on_resources = AAZListType( + serialized_name="optionBDisabledOnResources", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.redistribute_connected_subnets = AAZStrType( + serialized_name="redistributeConnectedSubnets", + ) + properties.redistribute_static_routes = AAZStrType( + serialized_name="redistributeStaticRoutes", + ) + + aggregate_route_configuration = cls._schema_on_200.value.Element.properties.aggregate_route_configuration + aggregate_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + aggregate_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv4_routes.Element + _element.prefix = AAZStrType() + + ipv6_routes = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.aggregate_route_configuration.ipv6_routes.Element + _element.prefix = AAZStrType() + + connected_subnet_route_policy = cls._schema_on_200.value.Element.properties.connected_subnet_route_policy + connected_subnet_route_policy.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + connected_subnet_route_policy.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + + disabled_on_resources = cls._schema_on_200.value.Element.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_b_disabled_on_resources = cls._schema_on_200.value.Element.properties.option_b_disabled_on_resources + option_b_disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py new file mode 100644 index 00000000000..cfd035fd650 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py @@ -0,0 +1,279 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l3domain show", +) +class Show(AAZCommand): + """Show details of the provided L3 Isolation Domain resource. + + :example: Show the L3 Isolation Domain + az nf l3domain show --resource-group "example-rg" --resource-name "example-l3domain" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L3 Isolation Domain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.L3IsolationDomainsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class L3IsolationDomainsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.aggregate_route_configuration = AAZObjectType( + serialized_name="aggregateRouteConfiguration", + ) + properties.annotation = AAZStrType() + properties.connected_subnet_route_policy = AAZObjectType( + serialized_name="connectedSubnetRoutePolicy", + ) + properties.description = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.option_b_disabled_on_resources = AAZListType( + serialized_name="optionBDisabledOnResources", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.redistribute_connected_subnets = AAZStrType( + serialized_name="redistributeConnectedSubnets", + ) + properties.redistribute_static_routes = AAZStrType( + serialized_name="redistributeStaticRoutes", + ) + + aggregate_route_configuration = cls._schema_on_200.properties.aggregate_route_configuration + aggregate_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + aggregate_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.properties.aggregate_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.aggregate_route_configuration.ipv4_routes.Element + _element.prefix = AAZStrType() + + ipv6_routes = cls._schema_on_200.properties.aggregate_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.aggregate_route_configuration.ipv6_routes.Element + _element.prefix = AAZStrType() + + connected_subnet_route_policy = cls._schema_on_200.properties.connected_subnet_route_policy + connected_subnet_route_policy.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + connected_subnet_route_policy.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_b_disabled_on_resources = cls._schema_on_200.properties.option_b_disabled_on_resources + option_b_disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py new file mode 100644 index 00000000000..37c57a9fe28 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py @@ -0,0 +1,194 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l3domain update-admin-state", +) +class UpdateAdminState(AAZCommand): + """Enables racks for this Isolation Domain. + + :example: Update admin state of L3 Isolation Domain + az nf l3domain update-admin-state --resource-group "example-rg" --resource-name "example-l3domain" --state "Enable" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}/updateadministrativestate", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L3IsolationDomain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.resource_ids = AAZListArg( + options=["--resource-ids"], + arg_group="Body", + help="Network Fabrics or Network Rack resource Id.", + ) + _args_schema.state = AAZStrArg( + options=["--state"], + arg_group="Body", + help="Administrative state.", + enum={"Disable": "Disable", "Enable": "Enable"}, + ) + + resource_ids = cls._args_schema.resource_ids + resource_ids.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.L3IsolationDomainsUpdateAdministrativeState(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class L3IsolationDomainsUpdateAdministrativeState(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/updateAdministrativeState", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("resourceIds", AAZListType, ".resource_ids") + _builder.set_prop("state", AAZStrType, ".state") + + resource_ids = _builder.get(".resourceIds") + if resource_ids is not None: + resource_ids.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200(self, session): + pass + + +class _UpdateAdminStateHelper: + """Helper class for UpdateAdminState""" + + +__all__ = ["UpdateAdminState"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py new file mode 100644 index 00000000000..f82317ad34a --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py @@ -0,0 +1,275 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf l3domain wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/l3isolationdomains/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the L3 Isolation Domain", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.L3IsolationDomainsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class L3IsolationDomainsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "l3IsolationDomainName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.aggregate_route_configuration = AAZObjectType( + serialized_name="aggregateRouteConfiguration", + ) + properties.annotation = AAZStrType() + properties.connected_subnet_route_policy = AAZObjectType( + serialized_name="connectedSubnetRoutePolicy", + ) + properties.description = AAZStrType() + properties.disabled_on_resources = AAZListType( + serialized_name="disabledOnResources", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.option_b_disabled_on_resources = AAZListType( + serialized_name="optionBDisabledOnResources", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.redistribute_connected_subnets = AAZStrType( + serialized_name="redistributeConnectedSubnets", + ) + properties.redistribute_static_routes = AAZStrType( + serialized_name="redistributeStaticRoutes", + ) + + aggregate_route_configuration = cls._schema_on_200.properties.aggregate_route_configuration + aggregate_route_configuration.ipv4_routes = AAZListType( + serialized_name="ipv4Routes", + ) + aggregate_route_configuration.ipv6_routes = AAZListType( + serialized_name="ipv6Routes", + ) + + ipv4_routes = cls._schema_on_200.properties.aggregate_route_configuration.ipv4_routes + ipv4_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.aggregate_route_configuration.ipv4_routes.Element + _element.prefix = AAZStrType() + + ipv6_routes = cls._schema_on_200.properties.aggregate_route_configuration.ipv6_routes + ipv6_routes.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.aggregate_route_configuration.ipv6_routes.Element + _element.prefix = AAZStrType() + + connected_subnet_route_policy = cls._schema_on_200.properties.connected_subnet_route_policy + connected_subnet_route_policy.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + connected_subnet_route_policy.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + + disabled_on_resources = cls._schema_on_200.properties.disabled_on_resources + disabled_on_resources.Element = AAZStrType() + + option_b_disabled_on_resources = cls._schema_on_200.properties.option_b_disabled_on_resources + option_b_disabled_on_resources.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py new file mode 100644 index 00000000000..d5bfccd3837 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf nni", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network To Network Interconnect Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py new file mode 100644 index 00000000000..7b2c89b8b4a --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py @@ -0,0 +1,427 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf nni create", +) +class Create(AAZCommand): + """Create a Network To Network Interconnect resource. + + :example: Create a Network To Network Interconnect + az nf nni create --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" --nni-type "CE" --is-management-type "True" --use-option-b "True" --layer2-configuration '{"portCount": 3, "mtu": 1500}' --layer3-configuration '{"importRoutePolicyId": "", "exportRoutePolicyId": "", "peerASN": 28, "vlanId": 501, "primaryIpv4Prefix": "172.31.0.0/31", "secondaryIpv4Prefix": "172.31.0.20/31"}' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf nni create --layer2-configuration '??' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/networktonetworkinterconnects/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.fabric_name = AAZStrArg( + options=["--fabric", "--fabric-name"], + help="Name of the Network Fabric.", + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkToNetworkInterconnectName", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.is_management_type = AAZStrArg( + options=["--is-management-type"], + arg_group="Properties", + help="Configuration to use NNI for Infrastructure Management. Example: True/False.", + enum={"False": "False", "True": "True"}, + ) + _args_schema.layer2_configuration = AAZObjectArg( + options=["--layer2-configuration"], + arg_group="Properties", + help="Common properties for Layer2Configuration.", + ) + _args_schema.layer3_configuration = AAZObjectArg( + options=["--layer3-configuration"], + arg_group="Properties", + help="Common properties for Layer3Configuration.", + ) + _args_schema.nni_type = AAZStrArg( + options=["--nni-type"], + arg_group="Properties", + help="Type of NNI used. Example: CE | NPB", + enum={"CE": "CE", "NPB": "NPB"}, + ) + _args_schema.use_option_b = AAZStrArg( + options=["--use-option-b"], + arg_group="Properties", + help="Parameter to configure option B for NNI. If set to True, Layer3 configuration is mandatory.", + enum={"False": "False", "True": "True"}, + ) + + layer2_configuration = cls._args_schema.layer2_configuration + layer2_configuration.mtu = AAZIntArg( + options=["mtu"], + help="MTU of the packets between PE & CE. The value is between 1500 to 9000. Default value is 1500", + required=True, + fmt=AAZIntArgFormat( + maximum=9000, + minimum=1500, + ), + ) + layer2_configuration.port_count = AAZIntArg( + options=["port-count"], + help="Number of ports connected between PE/CE. Maximum value depends on FabricSKU.", + ) + + layer3_configuration = cls._args_schema.layer3_configuration + layer3_configuration.export_route_policy_id = AAZStrArg( + options=["export-route-policy-id"], + help="exportRoutePolicyId", + ) + layer3_configuration.import_route_policy_id = AAZStrArg( + options=["import-route-policy-id"], + help="importRoutePolicyId", + ) + layer3_configuration.peer_asn = AAZIntArg( + options=["peer-asn"], + help="ASN of PE devices for CE/PE connectivity. The value should be between 1 to 65535. Example : 28", + fmt=AAZIntArgFormat( + maximum=65535, + minimum=1, + ), + ) + layer3_configuration.primary_ipv4_prefix = AAZStrArg( + options=["primary-ipv4-prefix"], + help="IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.31.0.0/31.", + ) + layer3_configuration.primary_ipv6_prefix = AAZStrArg( + options=["primary-ipv6-prefix"], + help="IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a0/126.", + ) + layer3_configuration.secondary_ipv4_prefix = AAZStrArg( + options=["secondary-ipv4-prefix"], + help="Secondary IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.31.0.20/31.", + ) + layer3_configuration.secondary_ipv6_prefix = AAZStrArg( + options=["secondary-ipv6-prefix"], + help="Secondary IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a4/126.", + ) + layer3_configuration.vlan_id = AAZIntArg( + options=["vlan-id"], + help="VLAN for CE/PE Layer 3 connectivity. The value should be between 501 to 4095. Example : 501", + fmt=AAZIntArgFormat( + maximum=4095, + minimum=501, + ), + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkToNetworkInterconnectsCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkToNetworkInterconnectsCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.fabric_name, + required=True, + ), + **self.serialize_url_param( + "networkToNetworkInterconnectName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("isManagementType", AAZStrType, ".is_management_type", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("layer2Configuration", AAZObjectType, ".layer2_configuration") + properties.set_prop("layer3Configuration", AAZObjectType, ".layer3_configuration") + properties.set_prop("nniType", AAZStrType, ".nni_type") + properties.set_prop("useOptionB", AAZStrType, ".use_option_b", typ_kwargs={"flags": {"required": True}}) + + layer2_configuration = _builder.get(".properties.layer2Configuration") + if layer2_configuration is not None: + layer2_configuration.set_prop("mtu", AAZIntType, ".mtu", typ_kwargs={"flags": {"required": True}}) + layer2_configuration.set_prop("portCount", AAZIntType, ".port_count") + + layer3_configuration = _builder.get(".properties.layer3Configuration") + if layer3_configuration is not None: + layer3_configuration.set_prop("exportRoutePolicyId", AAZStrType, ".export_route_policy_id") + layer3_configuration.set_prop("importRoutePolicyId", AAZStrType, ".import_route_policy_id") + layer3_configuration.set_prop("peerASN", AAZIntType, ".peer_asn") + layer3_configuration.set_prop("primaryIpv4Prefix", AAZStrType, ".primary_ipv4_prefix") + layer3_configuration.set_prop("primaryIpv6Prefix", AAZStrType, ".primary_ipv6_prefix") + layer3_configuration.set_prop("secondaryIpv4Prefix", AAZStrType, ".secondary_ipv4_prefix") + layer3_configuration.set_prop("secondaryIpv6Prefix", AAZStrType, ".secondary_ipv6_prefix") + layer3_configuration.set_prop("vlanId", AAZIntType, ".vlan_id") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.is_management_type = AAZStrType( + serialized_name="isManagementType", + flags={"required": True}, + ) + properties.layer2_configuration = AAZObjectType( + serialized_name="layer2Configuration", + ) + properties.layer3_configuration = AAZObjectType( + serialized_name="layer3Configuration", + ) + properties.nni_type = AAZStrType( + serialized_name="nniType", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.use_option_b = AAZStrType( + serialized_name="useOptionB", + flags={"required": True}, + ) + + layer2_configuration = cls._schema_on_200_201.properties.layer2_configuration + layer2_configuration.interfaces = AAZListType( + flags={"read_only": True}, + ) + layer2_configuration.mtu = AAZIntType( + flags={"required": True}, + ) + layer2_configuration.port_count = AAZIntType( + serialized_name="portCount", + ) + + interfaces = cls._schema_on_200_201.properties.layer2_configuration.interfaces + interfaces.Element = AAZStrType() + + layer3_configuration = cls._schema_on_200_201.properties.layer3_configuration + layer3_configuration.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + layer3_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + layer3_configuration.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + layer3_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + layer3_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + layer3_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + layer3_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + layer3_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + layer3_configuration.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py new file mode 100644 index 00000000000..eaf18a26c1d --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py @@ -0,0 +1,173 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf nni delete", +) +class Delete(AAZCommand): + """Delete the Network To Network Interconnect resource. + + :example: Delete the Network To Network Interconnect + az nf nni delete --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/networktonetworkinterconnects/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.fabric_name = AAZStrArg( + options=["--fabric", "--fabric-name"], + help="Name of the Network Fabric.", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkToNetworkInterconnectName", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkToNetworkInterconnectsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkToNetworkInterconnectsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.fabric_name, + required=True, + ), + **self.serialize_url_param( + "networkToNetworkInterconnectName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py new file mode 100644 index 00000000000..7e5512514b6 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py @@ -0,0 +1,280 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf nni list", +) +class List(AAZCommand): + """List all Network To Network Interconnects in the provided resource group. + + :example: List the Network To Network Interconnects for Resource Group + az nf nni list --resource-group "example-rg" --fabric "example-fabric" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/networktonetworkinterconnects", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.fabric_name = AAZStrArg( + options=["--fabric", "--fabric-name"], + help="Name of the Network Fabric.", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkToNetworkInterconnectsList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkToNetworkInterconnectsList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.fabric_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.is_management_type = AAZStrType( + serialized_name="isManagementType", + flags={"required": True}, + ) + properties.layer2_configuration = AAZObjectType( + serialized_name="layer2Configuration", + ) + properties.layer3_configuration = AAZObjectType( + serialized_name="layer3Configuration", + ) + properties.nni_type = AAZStrType( + serialized_name="nniType", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.use_option_b = AAZStrType( + serialized_name="useOptionB", + flags={"required": True}, + ) + + layer2_configuration = cls._schema_on_200.value.Element.properties.layer2_configuration + layer2_configuration.interfaces = AAZListType( + flags={"read_only": True}, + ) + layer2_configuration.mtu = AAZIntType( + flags={"required": True}, + ) + layer2_configuration.port_count = AAZIntType( + serialized_name="portCount", + ) + + interfaces = cls._schema_on_200.value.Element.properties.layer2_configuration.interfaces + interfaces.Element = AAZStrType() + + layer3_configuration = cls._schema_on_200.value.Element.properties.layer3_configuration + layer3_configuration.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + layer3_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + layer3_configuration.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + layer3_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + layer3_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + layer3_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + layer3_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + layer3_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + layer3_configuration.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py new file mode 100644 index 00000000000..6ffcae3e233 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py @@ -0,0 +1,282 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf nni show", +) +class Show(AAZCommand): + """Show details of the provided Network To Network Interconnect resource. + + :example: Show the Network To Network Interconnect + az nf nni show --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/networktonetworkinterconnects/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.fabric_name = AAZStrArg( + options=["--fabric", "--fabric-name"], + help="Name of the Network Fabric.", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkToNetworkInterconnectName", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkToNetworkInterconnectsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkToNetworkInterconnectsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.fabric_name, + required=True, + ), + **self.serialize_url_param( + "networkToNetworkInterconnectName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.is_management_type = AAZStrType( + serialized_name="isManagementType", + flags={"required": True}, + ) + properties.layer2_configuration = AAZObjectType( + serialized_name="layer2Configuration", + ) + properties.layer3_configuration = AAZObjectType( + serialized_name="layer3Configuration", + ) + properties.nni_type = AAZStrType( + serialized_name="nniType", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.use_option_b = AAZStrType( + serialized_name="useOptionB", + flags={"required": True}, + ) + + layer2_configuration = cls._schema_on_200.properties.layer2_configuration + layer2_configuration.interfaces = AAZListType( + flags={"read_only": True}, + ) + layer2_configuration.mtu = AAZIntType( + flags={"required": True}, + ) + layer2_configuration.port_count = AAZIntType( + serialized_name="portCount", + ) + + interfaces = cls._schema_on_200.properties.layer2_configuration.interfaces + interfaces.Element = AAZStrType() + + layer3_configuration = cls._schema_on_200.properties.layer3_configuration + layer3_configuration.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + layer3_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + layer3_configuration.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + layer3_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + layer3_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + layer3_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + layer3_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + layer3_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + layer3_configuration.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py new file mode 100644 index 00000000000..65c02fd5772 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py @@ -0,0 +1,278 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf nni wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/networktonetworkinterconnects/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.fabric_name = AAZStrArg( + options=["--fabric", "--fabric-name"], + help="Name of the Network Fabric.", + required=True, + id_part="name", + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the NetworkToNetworkInterconnectName", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkToNetworkInterconnectsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NetworkToNetworkInterconnectsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkFabricName", self.ctx.args.fabric_name, + required=True, + ), + **self.serialize_url_param( + "networkToNetworkInterconnectName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.administrative_state = AAZStrType( + serialized_name="administrativeState", + flags={"read_only": True}, + ) + properties.is_management_type = AAZStrType( + serialized_name="isManagementType", + flags={"required": True}, + ) + properties.layer2_configuration = AAZObjectType( + serialized_name="layer2Configuration", + ) + properties.layer3_configuration = AAZObjectType( + serialized_name="layer3Configuration", + ) + properties.nni_type = AAZStrType( + serialized_name="nniType", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.use_option_b = AAZStrType( + serialized_name="useOptionB", + flags={"required": True}, + ) + + layer2_configuration = cls._schema_on_200.properties.layer2_configuration + layer2_configuration.interfaces = AAZListType( + flags={"read_only": True}, + ) + layer2_configuration.mtu = AAZIntType( + flags={"required": True}, + ) + layer2_configuration.port_count = AAZIntType( + serialized_name="portCount", + ) + + interfaces = cls._schema_on_200.properties.layer2_configuration.interfaces + interfaces.Element = AAZStrType() + + layer3_configuration = cls._schema_on_200.properties.layer3_configuration + layer3_configuration.export_route_policy_id = AAZStrType( + serialized_name="exportRoutePolicyId", + ) + layer3_configuration.fabric_asn = AAZIntType( + serialized_name="fabricASN", + flags={"read_only": True}, + ) + layer3_configuration.import_route_policy_id = AAZStrType( + serialized_name="importRoutePolicyId", + ) + layer3_configuration.peer_asn = AAZIntType( + serialized_name="peerASN", + ) + layer3_configuration.primary_ipv4_prefix = AAZStrType( + serialized_name="primaryIpv4Prefix", + ) + layer3_configuration.primary_ipv6_prefix = AAZStrType( + serialized_name="primaryIpv6Prefix", + ) + layer3_configuration.secondary_ipv4_prefix = AAZStrType( + serialized_name="secondaryIpv4Prefix", + ) + layer3_configuration.secondary_ipv6_prefix = AAZStrType( + serialized_name="secondaryIpv6Prefix", + ) + layer3_configuration.vlan_id = AAZIntType( + serialized_name="vlanId", + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py new file mode 100644 index 00000000000..864dbe497a5 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf rack", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Rack Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py new file mode 100644 index 00000000000..84c2e421884 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py @@ -0,0 +1,313 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf rack create", +) +class Create(AAZCommand): + """Create a Network Rack resource. + + :example: Create a Network Rack + az nf rack create --resource-group "example-rg" --location "westus3" --network-rack-sku "rackskuname" --nf-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/NetworkFabrics/example-fabricName" --resource-name "example-rack" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkracks/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Rack", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.nf_id = AAZStrArg( + options=["--nf-id"], + arg_group="Properties", + help="Resource ID of the Network Fabric resource", + required=True, + ) + _args_schema.network_rack_sku = AAZStrArg( + options=["--network-rack-sku"], + arg_group="Properties", + help="Network Rack SKU name.", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkRacksCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkRacksCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkRackName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("networkFabricId", AAZStrType, ".nf_id", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("networkRackSku", AAZStrType, ".network_rack_sku", typ_kwargs={"flags": {"required": True}}) + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.annotation = AAZStrType() + properties.network_devices = AAZListType( + serialized_name="networkDevices", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.network_rack_sku = AAZStrType( + serialized_name="networkRackSku", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + network_devices = cls._schema_on_200_201.properties.network_devices + network_devices.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py new file mode 100644 index 00000000000..60c249950c5 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py @@ -0,0 +1,151 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf rack delete", +) +class Delete(AAZCommand): + """Delete the Network Rack resource. + + :example: Delete the Network Rack + az nf rack delete --resource-group "example-rg" --resource-name "example-rack" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkracks/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Rack", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NetworkRacksDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NetworkRacksDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + None, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkRackName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py new file mode 100644 index 00000000000..5defea1b695 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py @@ -0,0 +1,384 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf rack list", +) +class List(AAZCommand): + """List all Network Racks in the provided resource group or subscription. + + :example: List the Network Racks for Resource Group. + az nf rack list --resource-group "example-rg" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkracks", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkracks", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.NetworkRacksListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.NetworkRacksListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkRacksListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.network_devices = AAZListType( + serialized_name="networkDevices", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.network_rack_sku = AAZStrType( + serialized_name="networkRackSku", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + network_devices = cls._schema_on_200.value.Element.properties.network_devices + network_devices.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class NetworkRacksListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.network_devices = AAZListType( + serialized_name="networkDevices", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.network_rack_sku = AAZStrType( + serialized_name="networkRackSku", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + network_devices = cls._schema_on_200.value.Element.properties.network_devices + network_devices.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py new file mode 100644 index 00000000000..cfb262403ea --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py @@ -0,0 +1,230 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf rack show", +) +class Show(AAZCommand): + """Show details of the provided Network Rack resource. + + :example: Show the Network Rack + az nf rack show --resource-group "example-rg" --resource-name "example-rack" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkracks/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Rack", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkRacksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkRacksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkRackName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.network_devices = AAZListType( + serialized_name="networkDevices", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.network_rack_sku = AAZStrType( + serialized_name="networkRackSku", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + network_devices = cls._schema_on_200.properties.network_devices + network_devices.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py new file mode 100644 index 00000000000..6cdc46acb7c --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py @@ -0,0 +1,226 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf rack wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkracks/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Rack", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkRacksGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NetworkRacksGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkRackName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.network_devices = AAZListType( + serialized_name="networkDevices", + flags={"read_only": True}, + ) + properties.network_fabric_id = AAZStrType( + serialized_name="networkFabricId", + flags={"required": True}, + ) + properties.network_rack_sku = AAZStrType( + serialized_name="networkRackSku", + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + network_devices = cls._schema_on_200.properties.network_devices + network_devices.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py new file mode 100644 index 00000000000..a8fa7c4b0a0 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf racksku", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Rack SKU Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__init__.py new file mode 100644 index 00000000000..2df85698253 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__init__.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * +from ._show import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py new file mode 100644 index 00000000000..9224f333de1 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py @@ -0,0 +1,226 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf racksku list", +) +class List(AAZCommand): + """List all Network Rack SKUs in the provided subscription. + + :example: List the RackSKU for Subscription + az nf racksku list --subscription + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkrackskus", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkRackSkusListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkRackSkusListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRackSkus", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.maximum_server_count = AAZIntType( + serialized_name="maximumServerCount", + ) + properties.maximum_storage_count = AAZIntType( + serialized_name="maximumStorageCount", + ) + properties.maximum_uplinks = AAZIntType( + serialized_name="maximumUplinks", + ) + properties.network_devices = AAZListType( + serialized_name="networkDevices", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.role_name = AAZStrType( + serialized_name="roleName", + flags={"required": True}, + ) + + network_devices = cls._schema_on_200.value.Element.properties.network_devices + network_devices.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.network_devices.Element + _element.network_device_sku_name = AAZStrType( + serialized_name="networkDeviceSkuName", + ) + _element.rack_slot = AAZIntType( + serialized_name="rackSlot", + ) + _element.role_type = AAZStrType( + serialized_name="roleType", + ) + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py new file mode 100644 index 00000000000..aabb24185a0 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py @@ -0,0 +1,226 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf racksku show", +) +class Show(AAZCommand): + """Show details of the provided Network Rack SKU resource. + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/networkrackskus/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Network Rack Sku", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkRackSkusGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkRackSkusGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRackSkus/{networkRackSkuName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkRackSkuName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.maximum_server_count = AAZIntType( + serialized_name="maximumServerCount", + ) + properties.maximum_storage_count = AAZIntType( + serialized_name="maximumStorageCount", + ) + properties.maximum_uplinks = AAZIntType( + serialized_name="maximumUplinks", + ) + properties.network_devices = AAZListType( + serialized_name="networkDevices", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.role_name = AAZStrType( + serialized_name="roleName", + flags={"required": True}, + ) + + network_devices = cls._schema_on_200.properties.network_devices + network_devices.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.network_devices.Element + _element.network_device_sku_name = AAZStrType( + serialized_name="networkDeviceSkuName", + ) + _element.rack_slot = AAZIntType( + serialized_name="rackSlot", + ) + _element.role_type = AAZStrType( + serialized_name="roleType", + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py new file mode 100644 index 00000000000..7e1d17e34c5 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "nf routepolicy", +) +class __CMDGroup(AAZCommandGroup): + """Manage Route Policy Resource + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__init__.py new file mode 100644 index 00000000000..2d1a2078686 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py new file mode 100644 index 00000000000..fcdba54a919 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py @@ -0,0 +1,654 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf routepolicy create", +) +class Create(AAZCommand): + """Create a Route Policy resource. + + :example: Create a Route Policy Example 1 + az nf routepolicy create --resource-group "example-rg" --resource-name "example-routepolicy" --location "eastus" --statements '[{ "sequenceNumber": 1234, "condition": {"ipCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunityName"], "ipPrefixId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefixName"}, "action": {"localPreference": 123, "actionType": "Permit", "ipCommunityProperties": {"add": {"ipCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunityName"]}}}}]' + + :example: Create a Route Policy Example 2 + az nf routepolicy create --resource-group "example-rg" --resource-name "example-routepolicy" --location "eastus" --statements '[{ "sequenceNumber": 1235, "condition": {"ipExtendedCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunityName"]}, "action": {"localPreference": 1235, "actionType": "Deny", "ipExtendedCommunityProperties": {"set": {"ipExtendedCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunityName"]}}}}]' + + :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. + az nf routepolicy create --statements '??' + az nf routepolicy create --statements '[{'action':'??'' + az nf routepolicy create --statements '[{'action':{'ip-community-properties':'??'' + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/routepolicies/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Route Policy", + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Body", + help="Location of Azure region", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Body", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.annotation = AAZStrArg( + options=["--annotation"], + arg_group="Properties", + help="Switch configuration description.", + ) + _args_schema.statements = AAZListArg( + options=["--statements"], + arg_group="Properties", + help="Route Policy statements.", + required=True, + ) + + statements = cls._args_schema.statements + statements.Element = AAZObjectArg() + + _element = cls._args_schema.statements.Element + _element.action = AAZObjectArg( + options=["action"], + help="Route policy action properties.", + required=True, + ) + _element.annotation = AAZStrArg( + options=["annotation"], + help="Switch configuration description.", + ) + _element.condition = AAZObjectArg( + options=["condition"], + help="Route policy condition properties.", + required=True, + ) + _element.sequence_number = AAZIntArg( + options=["sequence-number"], + help="Sequence to insert to/delete from existing route. The value should be between 1 to 4294967295.", + required=True, + fmt=AAZIntArgFormat( + maximum=4294967295, + minimum=1, + ), + ) + + action = cls._args_schema.statements.Element.action + action.action_type = AAZStrArg( + options=["action-type"], + help="action. Example: Permit | Deny.", + required=True, + enum={"Deny": "Deny", "Permit": "Permit"}, + ) + action.ip_community_properties = AAZObjectArg( + options=["ip-community-properties"], + help="ipCommunity Properties.", + ) + action.ip_extended_community_properties = AAZObjectArg( + options=["ip-extended-community-properties"], + help="IP Extended Community Properties.", + ) + action.local_preference = AAZIntArg( + options=["local-preference"], + help="localPreference of the route policy. The value should be between 0 to 4294967295", + fmt=AAZIntArgFormat( + maximum=4294967295, + minimum=0, + ), + ) + + ip_community_properties = cls._args_schema.statements.Element.action.ip_community_properties + ip_community_properties.add = AAZObjectArg( + options=["add"], + help="Route policy add manipulations.", + ) + ip_community_properties.delete = AAZObjectArg( + options=["delete"], + help="Route policy delete manipulations.", + ) + ip_community_properties.set = AAZObjectArg( + options=["set"], + help="Route policy set manipulations.", + ) + + add = cls._args_schema.statements.Element.action.ip_community_properties.add + add.ip_community_ids = AAZListArg( + options=["ip-community-ids"], + help="List of IPCommunity resource IDs.", + ) + + ip_community_ids = cls._args_schema.statements.Element.action.ip_community_properties.add.ip_community_ids + ip_community_ids.Element = AAZStrArg() + + delete = cls._args_schema.statements.Element.action.ip_community_properties.delete + delete.ip_community_ids = AAZListArg( + options=["ip-community-ids"], + help="List of IPCommunity resource IDs.", + ) + + ip_community_ids = cls._args_schema.statements.Element.action.ip_community_properties.delete.ip_community_ids + ip_community_ids.Element = AAZStrArg() + + set = cls._args_schema.statements.Element.action.ip_community_properties.set + set.ip_community_ids = AAZListArg( + options=["ip-community-ids"], + help="List of IPCommunity resource IDs.", + ) + + ip_community_ids = cls._args_schema.statements.Element.action.ip_community_properties.set.ip_community_ids + ip_community_ids.Element = AAZStrArg() + + ip_extended_community_properties = cls._args_schema.statements.Element.action.ip_extended_community_properties + ip_extended_community_properties.add = AAZObjectArg( + options=["add"], + help="Route policy add manipulations.", + ) + ip_extended_community_properties.delete = AAZObjectArg( + options=["delete"], + help="Route policy delete manipulations.", + ) + ip_extended_community_properties.set = AAZObjectArg( + options=["set"], + help="Route policy set manipulations.", + ) + + add = cls._args_schema.statements.Element.action.ip_extended_community_properties.add + add.ip_extended_community_ids = AAZListArg( + options=["ip-extended-community-ids"], + help="List of IPExtendedCommunity resource IDs.", + ) + + ip_extended_community_ids = cls._args_schema.statements.Element.action.ip_extended_community_properties.add.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrArg() + + delete = cls._args_schema.statements.Element.action.ip_extended_community_properties.delete + delete.ip_extended_community_ids = AAZListArg( + options=["ip-extended-community-ids"], + help="List of IPExtendedCommunity resource IDs.", + ) + + ip_extended_community_ids = cls._args_schema.statements.Element.action.ip_extended_community_properties.delete.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrArg() + + set = cls._args_schema.statements.Element.action.ip_extended_community_properties.set + set.ip_extended_community_ids = AAZListArg( + options=["ip-extended-community-ids"], + help="List of IPExtendedCommunity resource IDs.", + ) + + ip_extended_community_ids = cls._args_schema.statements.Element.action.ip_extended_community_properties.set.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrArg() + + condition = cls._args_schema.statements.Element.condition + condition.ip_community_ids = AAZListArg( + options=["ip-community-ids"], + help="List of IPCommunity ARM resource IDs", + ) + condition.ip_extended_community_ids = AAZListArg( + options=["ip-extended-community-ids"], + help="List of IPExtendedCommunity ARM resource IDs", + ) + condition.ip_prefix_id = AAZStrArg( + options=["ip-prefix-id"], + help="ARM Resource Id of IpPrefix", + ) + + ip_community_ids = cls._args_schema.statements.Element.condition.ip_community_ids + ip_community_ids.Element = AAZStrArg() + + ip_extended_community_ids = cls._args_schema.statements.Element.condition.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.RoutePoliciesCreate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class RoutePoliciesCreate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "routePolicyName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("annotation", AAZStrType, ".annotation") + properties.set_prop("statements", AAZListType, ".statements", typ_kwargs={"flags": {"required": True}}) + + statements = _builder.get(".properties.statements") + if statements is not None: + statements.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.statements[]") + if _elements is not None: + _elements.set_prop("action", AAZObjectType, ".action", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("annotation", AAZStrType, ".annotation") + _elements.set_prop("condition", AAZObjectType, ".condition", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("sequenceNumber", AAZIntType, ".sequence_number", typ_kwargs={"flags": {"required": True}}) + + action = _builder.get(".properties.statements[].action") + if action is not None: + action.set_prop("actionType", AAZStrType, ".action_type", typ_kwargs={"flags": {"required": True}}) + action.set_prop("ipCommunityProperties", AAZObjectType, ".ip_community_properties") + action.set_prop("ipExtendedCommunityProperties", AAZObjectType, ".ip_extended_community_properties") + action.set_prop("localPreference", AAZIntType, ".local_preference") + + ip_community_properties = _builder.get(".properties.statements[].action.ipCommunityProperties") + if ip_community_properties is not None: + ip_community_properties.set_prop("add", AAZObjectType, ".add") + ip_community_properties.set_prop("delete", AAZObjectType, ".delete") + ip_community_properties.set_prop("set", AAZObjectType, ".set") + + add = _builder.get(".properties.statements[].action.ipCommunityProperties.add") + if add is not None: + add.set_prop("ipCommunityIds", AAZListType, ".ip_community_ids") + + ip_community_ids = _builder.get(".properties.statements[].action.ipCommunityProperties.add.ipCommunityIds") + if ip_community_ids is not None: + ip_community_ids.set_elements(AAZStrType, ".") + + delete = _builder.get(".properties.statements[].action.ipCommunityProperties.delete") + if delete is not None: + delete.set_prop("ipCommunityIds", AAZListType, ".ip_community_ids") + + ip_community_ids = _builder.get(".properties.statements[].action.ipCommunityProperties.delete.ipCommunityIds") + if ip_community_ids is not None: + ip_community_ids.set_elements(AAZStrType, ".") + + set = _builder.get(".properties.statements[].action.ipCommunityProperties.set") + if set is not None: + set.set_prop("ipCommunityIds", AAZListType, ".ip_community_ids") + + ip_community_ids = _builder.get(".properties.statements[].action.ipCommunityProperties.set.ipCommunityIds") + if ip_community_ids is not None: + ip_community_ids.set_elements(AAZStrType, ".") + + ip_extended_community_properties = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties") + if ip_extended_community_properties is not None: + ip_extended_community_properties.set_prop("add", AAZObjectType, ".add") + ip_extended_community_properties.set_prop("delete", AAZObjectType, ".delete") + ip_extended_community_properties.set_prop("set", AAZObjectType, ".set") + + add = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties.add") + if add is not None: + add.set_prop("ipExtendedCommunityIds", AAZListType, ".ip_extended_community_ids") + + ip_extended_community_ids = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties.add.ipExtendedCommunityIds") + if ip_extended_community_ids is not None: + ip_extended_community_ids.set_elements(AAZStrType, ".") + + delete = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties.delete") + if delete is not None: + delete.set_prop("ipExtendedCommunityIds", AAZListType, ".ip_extended_community_ids") + + ip_extended_community_ids = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties.delete.ipExtendedCommunityIds") + if ip_extended_community_ids is not None: + ip_extended_community_ids.set_elements(AAZStrType, ".") + + set = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties.set") + if set is not None: + set.set_prop("ipExtendedCommunityIds", AAZListType, ".ip_extended_community_ids") + + ip_extended_community_ids = _builder.get(".properties.statements[].action.ipExtendedCommunityProperties.set.ipExtendedCommunityIds") + if ip_extended_community_ids is not None: + ip_extended_community_ids.set_elements(AAZStrType, ".") + + condition = _builder.get(".properties.statements[].condition") + if condition is not None: + condition.set_prop("ipCommunityIds", AAZListType, ".ip_community_ids") + condition.set_prop("ipExtendedCommunityIds", AAZListType, ".ip_extended_community_ids") + condition.set_prop("ipPrefixId", AAZStrType, ".ip_prefix_id") + + ip_community_ids = _builder.get(".properties.statements[].condition.ipCommunityIds") + if ip_community_ids is not None: + ip_community_ids.set_elements(AAZStrType, ".") + + ip_extended_community_ids = _builder.get(".properties.statements[].condition.ipExtendedCommunityIds") + if ip_extended_community_ids is not None: + ip_extended_community_ids.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.statements = AAZListType( + flags={"required": True}, + ) + + statements = cls._schema_on_200_201.properties.statements + statements.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.statements.Element + _element.action = AAZObjectType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.condition = AAZObjectType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + + action = cls._schema_on_200_201.properties.statements.Element.action + action.action_type = AAZStrType( + serialized_name="actionType", + flags={"required": True}, + ) + action.ip_community_properties = AAZObjectType( + serialized_name="ipCommunityProperties", + ) + action.ip_extended_community_properties = AAZObjectType( + serialized_name="ipExtendedCommunityProperties", + ) + action.local_preference = AAZIntType( + serialized_name="localPreference", + ) + + ip_community_properties = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties + ip_community_properties.add = AAZObjectType() + ip_community_properties.delete = AAZObjectType() + ip_community_properties.set = AAZObjectType() + + add = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties.add + add.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties.add.ip_community_ids + ip_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties.delete + delete.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties.delete.ip_community_ids + ip_community_ids.Element = AAZStrType() + + set = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties.set + set.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200_201.properties.statements.Element.action.ip_community_properties.set.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_properties = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties + ip_extended_community_properties.add = AAZObjectType() + ip_extended_community_properties.delete = AAZObjectType() + ip_extended_community_properties.set = AAZObjectType() + + add = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties.add + add.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties.add.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties.delete + delete.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties.delete.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + set = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties.set + set.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200_201.properties.statements.Element.action.ip_extended_community_properties.set.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + condition = cls._schema_on_200_201.properties.statements.Element.condition + condition.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + condition.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + condition.ip_prefix_id = AAZStrType( + serialized_name="ipPrefixId", + ) + + ip_community_ids = cls._schema_on_200_201.properties.statements.Element.condition.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_ids = cls._schema_on_200_201.properties.statements.Element.condition.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py new file mode 100644 index 00000000000..abc3d6375fc --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py @@ -0,0 +1,163 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf routepolicy delete", +) +class Delete(AAZCommand): + """Delete the Route Policy resource. + + :example: Delete the Route Policy + az nf routepolicy delete --resource-group "example-rg" --resource-name "example-routepolicy" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/routepolicies/{}", "2023-02-01-preview"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Route Policy", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.RoutePoliciesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class RoutePoliciesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "routePolicyName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py new file mode 100644 index 00000000000..c7308625e20 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py @@ -0,0 +1,575 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf routepolicy list", +) +class List(AAZCommand): + """List all Route Policies in the provided resource group or subscription. + + :example: List the Route Policies for Resource Group + az nf routepolicy list --resource-group "example-rg" + + :example: List the Route Policies for Subscription + az nf routepolicy list --subscription "" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managednetworkfabric/routepolicies", "2023-02-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/routepolicies", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.RoutePoliciesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.RoutePoliciesListBySubscription(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class RoutePoliciesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.statements = AAZListType( + flags={"required": True}, + ) + + statements = cls._schema_on_200.value.Element.properties.statements + statements.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.statements.Element + _element.action = AAZObjectType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.condition = AAZObjectType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + + action = cls._schema_on_200.value.Element.properties.statements.Element.action + action.action_type = AAZStrType( + serialized_name="actionType", + flags={"required": True}, + ) + action.ip_community_properties = AAZObjectType( + serialized_name="ipCommunityProperties", + ) + action.ip_extended_community_properties = AAZObjectType( + serialized_name="ipExtendedCommunityProperties", + ) + action.local_preference = AAZIntType( + serialized_name="localPreference", + ) + + ip_community_properties = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties + ip_community_properties.add = AAZObjectType() + ip_community_properties.delete = AAZObjectType() + ip_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.add + add.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.add.ip_community_ids + ip_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.delete + delete.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.delete.ip_community_ids + ip_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.set + set.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.set.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_properties = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties + ip_extended_community_properties.add = AAZObjectType() + ip_extended_community_properties.delete = AAZObjectType() + ip_extended_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.add + add.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.add.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.delete + delete.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.delete.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.set + set.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.set.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + condition = cls._schema_on_200.value.Element.properties.statements.Element.condition + condition.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + condition.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + condition.ip_prefix_id = AAZStrType( + serialized_name="ipPrefixId", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.condition.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.condition.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class RoutePoliciesListBySubscription(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/routePolicies", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.statements = AAZListType( + flags={"required": True}, + ) + + statements = cls._schema_on_200.value.Element.properties.statements + statements.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.statements.Element + _element.action = AAZObjectType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.condition = AAZObjectType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + + action = cls._schema_on_200.value.Element.properties.statements.Element.action + action.action_type = AAZStrType( + serialized_name="actionType", + flags={"required": True}, + ) + action.ip_community_properties = AAZObjectType( + serialized_name="ipCommunityProperties", + ) + action.ip_extended_community_properties = AAZObjectType( + serialized_name="ipExtendedCommunityProperties", + ) + action.local_preference = AAZIntType( + serialized_name="localPreference", + ) + + ip_community_properties = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties + ip_community_properties.add = AAZObjectType() + ip_community_properties.delete = AAZObjectType() + ip_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.add + add.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.add.ip_community_ids + ip_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.delete + delete.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.delete.ip_community_ids + ip_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.set + set.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_community_properties.set.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_properties = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties + ip_extended_community_properties.add = AAZObjectType() + ip_extended_community_properties.delete = AAZObjectType() + ip_extended_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.add + add.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.add.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.delete + delete.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.delete.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.set + set.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.action.ip_extended_community_properties.set.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + condition = cls._schema_on_200.value.Element.properties.statements.Element.condition + condition.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + condition.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + condition.ip_prefix_id = AAZStrType( + serialized_name="ipPrefixId", + ) + + ip_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.condition.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_ids = cls._schema_on_200.value.Element.properties.statements.Element.condition.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py new file mode 100644 index 00000000000..91e4dbbc89e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py @@ -0,0 +1,324 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf routepolicy show", +) +class Show(AAZCommand): + """Show details of the provided Route Policy resource. + + :example: Show the Route Policy + az nf routepolicy show --resource-group "example-rg" --resource-name "example-routepolicy" + """ + + _aaz_info = { + "version": "2023-02-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/routepolicies/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Route Policy", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.RoutePoliciesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class RoutePoliciesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "routePolicyName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.statements = AAZListType( + flags={"required": True}, + ) + + statements = cls._schema_on_200.properties.statements + statements.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.statements.Element + _element.action = AAZObjectType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.condition = AAZObjectType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + + action = cls._schema_on_200.properties.statements.Element.action + action.action_type = AAZStrType( + serialized_name="actionType", + flags={"required": True}, + ) + action.ip_community_properties = AAZObjectType( + serialized_name="ipCommunityProperties", + ) + action.ip_extended_community_properties = AAZObjectType( + serialized_name="ipExtendedCommunityProperties", + ) + action.local_preference = AAZIntType( + serialized_name="localPreference", + ) + + ip_community_properties = cls._schema_on_200.properties.statements.Element.action.ip_community_properties + ip_community_properties.add = AAZObjectType() + ip_community_properties.delete = AAZObjectType() + ip_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.add + add.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.add.ip_community_ids + ip_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.delete + delete.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.delete.ip_community_ids + ip_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.set + set.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.set.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_properties = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties + ip_extended_community_properties.add = AAZObjectType() + ip_extended_community_properties.delete = AAZObjectType() + ip_extended_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.add + add.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.add.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.delete + delete.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.delete.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.set + set.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.set.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + condition = cls._schema_on_200.properties.statements.Element.condition + condition.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + condition.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + condition.ip_prefix_id = AAZStrType( + serialized_name="ipPrefixId", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.condition.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.condition.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py new file mode 100644 index 00000000000..c1e519262de --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py @@ -0,0 +1,320 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "nf routepolicy wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/routepolicies/{}", "2023-02-01-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg( + help="Name of the resource group", + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["--resource-name"], + help="Name of the Route Policy", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.RoutePoliciesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class RoutePoliciesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "routePolicyName", self.ctx.args.resource_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-02-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.annotation = AAZStrType() + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.statements = AAZListType( + flags={"required": True}, + ) + + statements = cls._schema_on_200.properties.statements + statements.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.statements.Element + _element.action = AAZObjectType( + flags={"required": True}, + ) + _element.annotation = AAZStrType() + _element.condition = AAZObjectType( + flags={"required": True}, + ) + _element.sequence_number = AAZIntType( + serialized_name="sequenceNumber", + flags={"required": True}, + ) + + action = cls._schema_on_200.properties.statements.Element.action + action.action_type = AAZStrType( + serialized_name="actionType", + flags={"required": True}, + ) + action.ip_community_properties = AAZObjectType( + serialized_name="ipCommunityProperties", + ) + action.ip_extended_community_properties = AAZObjectType( + serialized_name="ipExtendedCommunityProperties", + ) + action.local_preference = AAZIntType( + serialized_name="localPreference", + ) + + ip_community_properties = cls._schema_on_200.properties.statements.Element.action.ip_community_properties + ip_community_properties.add = AAZObjectType() + ip_community_properties.delete = AAZObjectType() + ip_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.add + add.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.add.ip_community_ids + ip_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.delete + delete.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.delete.ip_community_ids + ip_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.set + set.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_community_properties.set.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_properties = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties + ip_extended_community_properties.add = AAZObjectType() + ip_extended_community_properties.delete = AAZObjectType() + ip_extended_community_properties.set = AAZObjectType() + + add = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.add + add.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.add.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + delete = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.delete + delete.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.delete.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + set = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.set + set.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.action.ip_extended_community_properties.set.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + condition = cls._schema_on_200.properties.statements.Element.condition + condition.ip_community_ids = AAZListType( + serialized_name="ipCommunityIds", + ) + condition.ip_extended_community_ids = AAZListType( + serialized_name="ipExtendedCommunityIds", + ) + condition.ip_prefix_id = AAZStrType( + serialized_name="ipPrefixId", + ) + + ip_community_ids = cls._schema_on_200.properties.statements.Element.condition.ip_community_ids + ip_community_ids.Element = AAZStrType() + + ip_extended_community_ids = cls._schema_on_200.properties.statements.Element.condition.ip_extended_community_ids + ip_extended_community_ids.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/managednetworkfabric/azext_managednetworkfabric/azext_metadata.json b/src/managednetworkfabric/azext_managednetworkfabric/azext_metadata.json new file mode 100644 index 00000000000..be5de02d927 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.45.0" +} \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/commands.py b/src/managednetworkfabric/azext_managednetworkfabric/commands.py new file mode 100644 index 00000000000..b0d842e4993 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/commands.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +# from azure.cli.core.commands import CliCommandType + + +def load_command_table(self, _): # pylint: disable=unused-argument + pass diff --git a/src/managednetworkfabric/azext_managednetworkfabric/custom.py b/src/managednetworkfabric/azext_managednetworkfabric/custom.py new file mode 100644 index 00000000000..86df1e48ef5 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/custom.py @@ -0,0 +1,14 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + +from knack.log import get_logger + + +logger = get_logger(__name__) diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini new file mode 100644 index 00000000000..62adc7c166d --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini @@ -0,0 +1,126 @@ +# The config contains sections ["resourcename"] specific to each API resource +# Add the parameters relevant to each resource in the corresponding section + +[NETWORK_FABRIC_CONTROLLER] +name="nfa-tool-ts-cli-nfc061223" +resource_group="nfa-tool-ts-clisdktest-nfcrg060523" +location="East US" +infra_ER_Connections='[{"expressRouteCircuitId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit", "expressRouteAuthorizationKey": ""}]' +workload_ER_Connections='[{"expressRouteCircuitId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit", "expressRouteAuthorizationKey": ""}]' +ipv4_address_space="20.0.0.0/19" +nameDelete="nfa-tool-ts-nfc1-061223" + +[NETWORK_FABRIC] +name="nfa-tool-ts-cli-nf061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +nf_sku="fab1" +nfc_id="/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223" +fabric_asn=65523 +ipv4_prefix="10.1.0.0/19" +ipv6_prefix="2fff::/59" +rack_count=3 +server_count_per_rack=7 +terminalServerConf="{'primaryIpv4Prefix':'20.20.0.0/27', 'secondaryIpv4Prefix':'20.20.0.0/25', 'username':'****', 'password':'*****', 'serialNumber':'1234'}" +managedNetworkConf="{'infrastructureVpnConfiguration':{'peeringOption': 'OptionB', 'optionBProperties': {'importRouteTargets': ['65521:2001','65512:2002'], 'exportRouteTargets': ['65531:1002','65532:1003']}}, 'workloadVpnConfiguration':{'peeringOption': 'OptionB', 'optionBProperties': {'importRouteTargets': ['65541:2001','65542:2002'], 'exportRouteTargets': ['65531:1230','65532:2301']}}}" +# To test provision and deprovision commands +resource_name="nfa-tool-ts-cli-nf1-061223" + +[NETWORK_RACK] +name="nfa-tool-ts-nf060523-comprack1" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" + +[NETWORK_DEVICE] +name="nfa-tool-ts-cli-nf1-061223-AggrRack-CE1" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +host_name="hostName" +serial_number="1234abcd5678" + +[NETWORK_INTERFACE] +name="Ethernet1" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +device_name="nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1" +state_Enable="Enable" +state_Disable="Disable" + +[NETWORK_TO_NETWORK_INTERCONNECT] +name="nfa-tool-ts-cli-nni061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +fabric="nfa-tool-ts-cli-nf1-061223" +is_management_type="True" +use_option_b="True" +layer2_Configuration="{'portCount': 3, 'mtu': 1500}" +layer3_Configuration="{'importRoutePolicyId': '', 'exportRoutePolicyId': '', 'peerASN': 65535, 'vlanId': 600, 'primaryIpv4Prefix': '20.20.0.0/27', 'secondaryIpv4Prefix': '20.20.0.0/25', 'primaryIpv6Prefix': '3FFE:FFFF:0:CD30::a4/127', 'secondaryIpv6Prefix':'3FFE:FFFF:0:CD30::a4/127'}" + +[L2_ISOLATION_DOMAIN] +name="nfa-tool-ts-cli-l2domain1-061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +nf_id="/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523" +mtu="1512" +vlan_id="524" +state_Enable="Enable" +state_Disable="Disable" + +[L3_ISOLATION_DOMAIN] +name="nfa-tool-ts-cli-l3domain061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +nf_id="/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523" +redistribute_connected_subnets="True" +redistribute_static_routes="True" +aggregate_route_conf='{"ipv4Routes":[{"prefix": "10.0.0.1/27"}], "ipv6Routes":[{"prefix": "2fff::/59"}]}' +connected_subnet_route_policy="{'exportRoutePolicyId': ''}" +state_Enable="Enable" +state_Disable="Disable" +# To test update admin state command +resource_name="nfa-tool-ts-cli-l3domain1-061223" + +[IP_PREFIX] +name="nfa-tool-ts-cli-ipprefix061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +ip_prefix_rules="[{'action': 'Permit', 'sequenceNumber': 10, 'networkPrefix': '10.12.14.0/24', 'condition': 'EqualTo', 'subnetMaskLength': 24}]" + +[IP_COMMUNITY] +name="nfa-tool-ts-cli-ipcommunity061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +action="Deny" +well_known_communities="LocalAS" "GShut" +community_members="101:200" "101:201" + +[IP_EXTENDED_COMMUNITY] +name="nfa-tool-ts-cli-ipextcommunity061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +action="Deny" +route_targets="1024:219" "1001:200" + +[ROUTE_POLICY] +name="nfa-tool-ts-cli-routepolicy061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +location="East US" +statements_with_ipcommunity='[{"sequenceNumber": 1214, "condition": {"ipCommunityIds": ["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"], "ipPrefixId": "/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"}, "action":{"localPreference": 113, "actionType": "Permit", "ipCommunityProperties": {"add":{"ipCommunityIds":["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}]' +statements_with_ipextcommunity='[{"sequenceNumber": 1214, "condition": {"ipExtendedCommunityIds": ["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"], "ipPrefixId": "/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"}, "action":{"localPreference": 113, "actionType": "Permit", "ipExtendedCommunityProperties": {"add":{"ipExtendedCommunityIds":["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}]' + +[Internal_Network] +name="nfa-tool-ts-cli-internalnetwork061223" +l3domain="nfa-tool-ts-cli-l3domain1-061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +vlan_id=2600 +mtu=1500 +connected_Ipv4_subnets='[{"prefix":"10.1.1.1/24"}]' +connected_Ipv6_subnets='[{"prefix":"2fff::/59"}]' +static_route_conf="{'ipv4Routes':[{'prefix':'10.0.0.1/28','nextHop':['10.0.1.1']}],'ipv6Routes':[{'prefix':'2fff::/59','nextHop':['3fff::']}]}" +bgp_conf="{'defaultRouteOriginate':'True','allowAS':2,'allowASOverride':'Enable','peerASN':65535,'ipv4ListenRangePrefixes':['10.1.1.0/28'],'ipv4NeighborAddress':[{'address': '10.1.1.0'}]}" + +[External_Network] +name="nfa-tool-ts-cli-externalnetwork061223" +l3domain="nfa-tool-ts-cli-l3domain1-061223" +resource_group="nfa-tool-ts-clisdktest-nfrg060523" +peering_option="OptionB" +import_route_policy_id="importroutepolicyid" +export_route_policy_id="exportroutepolicyid" +option_b_properties='{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]}' +option_a_properties='{"peerASN":65234,"vlanId":513,"mtu":1500,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31"}' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.py new file mode 100644 index 00000000000..aa48b0bb487 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.py @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods + +""" ManagedNetworkFabric resource specific configuration""" + +import configparser +from os import path + + +class LoadConfig: + ''' Loads the resource specific configuration for managednetworkfabric resources from config.ini. + This configuration is loaded at the first instance and stored in the _config_instance + Global parameter CONFIG can be used by calling classes to use the configuration values + ''' + config = None + + def __init__(self): + self._config_instance = None # Initial value + filename = path.dirname(__file__)+"/config.ini" + self.config = self.readconfig(filename) + + def readconfig(self, filename): + ''' Load resource config from configuration file''' + if self._config_instance: + return self._config_instance + self._config_instance = configparser.ConfigParser() + self._config_instance.read(filename) + return self._config_instance + + +def get_config(): + ''' Load the config and return the class instance''' + load_cnfig = LoadConfig() + return load_cnfig.config + + +CONFIG = get_config() \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml new file mode 100644 index 00000000000..6b08258a871 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml @@ -0,0 +1,198 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf device show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:50.9265263Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '993' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:45:35 GMT + etag: + - '"fe05296c-0000-0100-0000-6486e89b0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf device list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkDevices?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE1","name":"nfTestD15180423-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:23.2032787Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:23.2032787Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AggRack-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE2","name":"nfTestD15180423-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:24.4376686Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:24.4376686Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AggRack-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR17","name":"nfTestD15180423-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:25.703311Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:25.703311Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AggRack-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR18","name":"nfTestD15180423-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:26.9377019Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:26.9377019Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AggRack-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch1","name":"nfTestD15180423-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:28.2189712Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:28.2189712Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AggRack-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch2","name":"nfTestD15180423-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:29.5003026Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:29.5003026Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AggRack-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB1","name":"nfTestD15180423-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:30.7033823Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:30.7033823Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AggRack-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB2","name":"nfTestD15180423-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:31.8440728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:31.8440728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AggRack-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR1","name":"nfTestD15180423-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:34.7660407Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:34.7660407Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CompRack1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR2","name":"nfTestD15180423-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:35.9378315Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:35.9378315Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CompRack1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-MgmtSwitch","name":"nfTestD15180423-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:37.2034743Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:37.2034743Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CompRack1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR3","name":"nfTestD15180423-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:39.8910125Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:39.8910125Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CompRack2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR4","name":"nfTestD15180423-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:41.125408Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:41.125408Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CompRack2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-MgmtSwitch","name":"nfTestD15180423-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:42.2972959Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:42.2972959Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CompRack2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","name":"nfa-tool-ts-nf060523-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.4530435Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.4530435Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","name":"nfa-tool-ts-nf060523-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.7811728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.7811728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","name":"nfa-tool-ts-nf060523-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.9531789Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.9531789Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","name":"nfa-tool-ts-nf060523-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.1561799Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.1561799Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.3749354Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.3749354Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.5624385Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.5624385Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","name":"nfa-tool-ts-nf060523-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.7499449Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.7499449Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2","name":"nfa-tool-ts-nf060523-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.9530723Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.9530723Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","name":"nfa-tool-ts-nf060523-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.7655878Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.7655878Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","name":"nfa-tool-ts-nf060523-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.9999672Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.9999672Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.2187216Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.2187216Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","name":"nfa-tool-ts-nf060523-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.9218621Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.9218621Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","name":"nfa-tool-ts-nf060523-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.1718627Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.1718627Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.3906215Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.3906215Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:50.9265263Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.2234024Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.2234024Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.3796554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.3796554Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.5827846Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.5827846Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.7702844Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.7702844Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.989179Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.989179Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.1609203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.1609203Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.3484212Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.3484212Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.0203043Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.0203043Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.1765575Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.1765575Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.3484356Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.3484356Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.8484863Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.8484863Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.035944Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.035944Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.2078228Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.2078228Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '41177' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:45:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 5f238078-ef2a-4b9d-8a0e-3068b6833843 + - 10b41488-ab91-448e-bae9-eec6f078a751 + - 801ec27e-bdf8-4024-b86c-601e3d12bc2a + - a05294f1-0bd8-419b-a17b-c8d21dc10635 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf device list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","name":"nfa-tool-ts-nf060523-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.4530435Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.4530435Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","name":"nfa-tool-ts-nf060523-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.7811728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.7811728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","name":"nfa-tool-ts-nf060523-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.9531789Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.9531789Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","name":"nfa-tool-ts-nf060523-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.1561799Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.1561799Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.3749354Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.3749354Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.5624385Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.5624385Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","name":"nfa-tool-ts-nf060523-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.7499449Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.7499449Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2","name":"nfa-tool-ts-nf060523-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.9530723Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.9530723Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","name":"nfa-tool-ts-nf060523-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.7655878Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.7655878Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","name":"nfa-tool-ts-nf060523-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.9999672Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.9999672Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.2187216Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.2187216Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","name":"nfa-tool-ts-nf060523-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.9218621Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.9218621Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","name":"nfa-tool-ts-nf060523-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.1718627Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.1718627Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.3906215Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.3906215Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:50.9265263Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.2234024Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.2234024Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.3796554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.3796554Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.5827846Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.5827846Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.7702844Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.7702844Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.989179Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.989179Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.1609203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.1609203Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.3484212Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.3484212Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.0203043Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.0203043Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.1765575Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.1765575Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.3484356Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.3484356Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.8484863Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.8484863Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.035944Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.035944Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.2078228Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.2078228Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '27919' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:45:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 45afe359-368e-4f4b-8e3c-990b8deaf4ec + - d3c88339-70ec-4411-9c67-c6657340ee37 + - dc7d695a-44c5-4141-b377-87e6a239c0ca + - c0efd361-509d-47e2-acd6-dd715c7fc798 + status: + code: 200 + message: OK +- request: + body: '{"properties": {"serialNumber": "1234abcd5678"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf device update + Connection: + - keep-alive + Content-Length: + - '48' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --serial-number + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:45:43.21043Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"1234abcd5678","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '951' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:45:43 GMT + etag: + - '"fe057878-0000-0100-0000-6486e9480000"' + expires: + - '-1' + mise-correlation-id: + - a5da70dd-ebb6-4482-b5a8-b5020f16425a + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml new file mode 100644 index 00000000000..524b73becd8 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml @@ -0,0 +1,1312 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group --device + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","name":"Ethernet1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.6766588Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:32:49.6746393Z"},"properties":{"physicalIdentifier":"Ethernet1","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}}' + headers: + cache-control: + - no-cache + content-length: + - '740' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:43:37 GMT + etag: + - '"e702c46d-0000-0100-0000-6486f4510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface list + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","name":"Ethernet1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.6766588Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:32:49.6746393Z"},"properties":{"physicalIdentifier":"Ethernet1","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet2","name":"Ethernet2","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.7703487Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.7703487Z"},"properties":{"physicalIdentifier":"Ethernet2","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet9","name":"Ethernet9","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.8484729Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.8484729Z"},"properties":{"physicalIdentifier":"Ethernet9","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet10","name":"Ethernet10","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.957852Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.957852Z"},"properties":{"physicalIdentifier":"Ethernet10","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet11","name":"Ethernet11","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.0359711Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.0359711Z"},"properties":{"physicalIdentifier":"Ethernet11","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet12","name":"Ethernet12","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.1297223Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.1297223Z"},"properties":{"physicalIdentifier":"Ethernet12","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet17","name":"Ethernet17","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.2078476Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.2078476Z"},"properties":{"physicalIdentifier":"Ethernet17","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet47","name":"Ethernet47","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.2859719Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.2859719Z"},"properties":{"physicalIdentifier":"Ethernet47","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet48","name":"Ethernet48","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.3641003Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.3641003Z"},"properties":{"physicalIdentifier":"Ethernet48","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet49","name":"Ethernet49","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.4578504Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.4578504Z"},"properties":{"physicalIdentifier":"Ethernet49","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet50","name":"Ethernet50","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.5360123Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.5360123Z"},"properties":{"physicalIdentifier":"Ethernet50","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Management1","name":"Management1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.6297768Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.6297768Z"},"properties":{"physicalIdentifier":"Management","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Management","ipv4Address":"10.1.2.6"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '8961' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:43:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: '{"state": "Disable"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1/updateAdministrativeState?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:43:42 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + mise-correlation-id: + - 69c510d5-0012-48db-8b2c-fc9d71277781 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:43:43 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:13 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:44 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:45:14 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:45:44 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:24 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:54 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:47:25 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:47:55 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:25 GMT + etag: + - '"72032195-0000-0100-0000-6486f6de0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:43:42.3154652Z","endTime":"2023-06-12T10:48:39.3380948Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:56 GMT + etag: + - '"7203279d-0000-0100-0000-6486f8070000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:43:42.3154652Z","endTime":"2023-06-12T10:48:39.3380948Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:56 GMT + etag: + - '"7203279d-0000-0100-0000-6486f8070000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"state": "Enable"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1/updateAdministrativeState?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:58 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + mise-correlation-id: + - 666d5d45-06fa-4730-8d6a-87ee5ca3ef82 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:59 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:49:29 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:50:00 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:50:30 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:50:59 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:51:30 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:52:00 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:52:31 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:53:01 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:53:32 GMT + etag: + - '"720356a0-0000-0100-0000-6486f81a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:54:02 GMT + etag: + - '"7203f4a7-0000-0100-0000-6486f9470000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:48:58.2223609Z"}' + headers: + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:54:33 GMT + etag: + - '"7203f4a7-0000-0100-0000-6486f9470000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:48:58.2223609Z","endTime":"2023-06-12T10:55:00.7722655Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:55:03 GMT + etag: + - '"720363aa-0000-0100-0000-6486f9840000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf interface update-admin-state + Connection: + - keep-alive + ParameterSetName: + - --resource-group --device --resource-name --state + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:48:58.2223609Z","endTime":"2023-06-12T10:55:00.7722655Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:55:03 GMT + etag: + - '"720363aa-0000-0100-0000-6486f9840000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml new file mode 100644 index 00000000000..d2ddd8701c3 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml @@ -0,0 +1,142 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf rack show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1464' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:51:53 GMT + etag: + - '"2f0cbb39-0000-0100-0000-647da5850000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf rack list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","name":"nfa-tool-ts-nf060523-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:21.87467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:12.8172367Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","name":"nfa-tool-ts-nf060523-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.8434406Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.192202Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack3","name":"nfa-tool-ts-nf060523-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:23.2965728Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:23.2965728Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","provisioningState":"Failed"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '6226' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:51:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - f2a646fb-e72f-4d08-81a4-46af5a95ee47 + - 47616aec-73bf-4883-9696-f13f9cd6763c + - ec7d3a08-9fa6-4023-a871-ec076963e6f3 + - 1dffbcd5-094e-47a8-b7cd-65ca2e0f708f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf rack list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkRacks?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","name":"nfTestD15180423-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:53.6403598Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:53.6403598Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB2"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","name":"nfTestD15180423-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:56.3122706Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:56.3122706Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-MgmtSwitch"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","name":"nfTestD15180423-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:57.9217212Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:57.9217212Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-MgmtSwitch"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","name":"nfa-tool-ts-nf060523-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:21.87467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:12.8172367Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","name":"nfa-tool-ts-nf060523-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.8434406Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.192202Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack3","name":"nfa-tool-ts-nf060523-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:23.2965728Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:23.2965728Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","provisioningState":"Failed"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '11177' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:51:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - a8f354a2-5821-4252-8b83-405f1f8e479d + - 9a511dd0-c163-433c-a6b6-e9ed5d197023 + - b90952ce-824a-4b45-8cbe-b3991f287ece + - f813c8b9-d5ee-49a8-946c-c1d23813c558 + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml new file mode 100644 index 00000000000..5a50eb282a7 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml @@ -0,0 +1,821 @@ +interactions: +- request: + body: '{"properties": {"optionAProperties": {"mtu": 1500, "peerASN": 65234, "primaryIpv4Prefix": + "172.23.1.0/31", "secondaryIpv4Prefix": "172.23.1.2/31", "vlanId": 513}, "optionBProperties": + {"exportRouteTargets": ["65531:2001"], "importRouteTargets": ["65541:2001"]}, + "peeringOption": "OptionB"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork create + Connection: + - keep-alive + Content-Length: + - '290' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --l3domain --resource-name --peering-option --option-a-properties + --option-b-properties + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"annotation":null,"importRoutePolicyId":null,"exportRoutePolicyId":null,"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"bfdConfiguration":null,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31"},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"disabledOnResources":null,"networkToNetworkInterconnectId":null,"administrativeState":"Enabled","provisioningState":"Accepted"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1119' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:43:29 GMT + etag: + - '"b8059eec-0000-0100-0000-6486f6d10000"' + expires: + - '-1' + mise-correlation-id: + - 6dcbda26-1ee1-4c59-8c40-b9e0f4ae6e9e + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --l3domain --resource-name --peering-option --option-a-properties + --option-b-properties + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Accepted","startTime":"2023-06-12T10:43:29.7031009Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:43:31 GMT + etag: + - '"72030495-0000-0100-0000-6486f6d10000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --l3domain --resource-name --peering-option --option-a-properties + --option-b-properties + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Succeeded","startTime":"2023-06-12T10:43:29.7031009Z","endTime":"2023-06-12T10:43:32.946732Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:01 GMT + etag: + - '"72031c95-0000-0100-0000-6486f6d40000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --l3domain --resource-name --peering-option --option-a-properties + --option-b-properties + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '974' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:01 GMT + etag: + - '"b805b9ec-0000-0100-0000-6486f6d50000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '974' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:05 GMT + etag: + - '"b805b9ec-0000-0100-0000-6486f6d50000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork list + Connection: + - keep-alive + ParameterSetName: + - --resource-group --l3domain + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '986' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:09 GMT + etag: + - '"b8054bee-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + mise-correlation-id: + - a0b7b866-a505-46c5-94cd-735642512fad + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:10 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:44:41 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:45:11 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:45:42 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:24 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:54 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:47:25 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:47:55 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:26 GMT + etag: + - '"7203c296-0000-0100-0000-6486f6fa0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Succeeded","startTime":"2023-06-12T10:44:10.6571353Z","endTime":"2023-06-12T10:48:39.902338Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:58 GMT + etag: + - '"7203299d-0000-0100-0000-6486f8070000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf externalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Succeeded","startTime":"2023-06-12T10:44:10.6571353Z","endTime":"2023-06-12T10:48:39.902338Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:58 GMT + etag: + - '"7203299d-0000-0100-0000-6486f8070000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml new file mode 100644 index 00000000000..81add486eff --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml @@ -0,0 +1,346 @@ +interactions: +- request: + body: '{"properties": {"bgpConfiguration": {"allowAS": 2, "allowASOverride": "Enable", + "defaultRouteOriginate": "True", "ipv4ListenRangePrefixes": ["10.1.1.0/28"], + "ipv4NeighborAddress": [{"address": "10.1.1.0"}], "peerASN": 65535}, "connectedIPv4Subnets": + [{"prefix": "10.1.1.1/24"}], "connectedIPv6Subnets": [{"prefix": "2fff::/59"}], + "mtu": 1500, "staticRouteConfiguration": {"ipv4Routes": [{"nextHop": ["10.0.1.1"], + "prefix": "10.0.0.1/28"}], "ipv6Routes": [{"nextHop": ["3fff::"], "prefix": + "2fff::/59"}]}, "vlanId": 2600}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork create + Connection: + - keep-alive + Content-Length: + - '521' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --l3-isolation-domain-name --resource-name --vlan-id --mtu + --connected-ipv4-subnets --connected-ipv6-subnets --static-route-configuration + --bgp-configuration --no-wait + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","name":"nfa-tool-ts-cli-internalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:55:47.2834518Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:12:26.4838806Z"},"properties":{"annotation":null,"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24","annotation":null}],"connectedIPv6Subnets":[{"prefix":"2fff::/59","annotation":null}],"staticRouteConfiguration":{"bfdConfiguration":null,"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"bfdConfiguration":null,"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv6ListenRangePrefixes":null,"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}],"ipv6NeighborAddress":null,"annotation":null},"importRoutePolicyId":null,"exportRoutePolicyId":null,"disabledOnResources":null,"bgpDisabledOnResources":null,"bfdDisabledOnResources":null,"bfdForStaticRoutesDisabledOnResources":null,"administrativeState":"Enabled","provisioningState":"Accepted"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/cfeb8454-004f-4087-9e9e-aeb33cf46176*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1581' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:27 GMT + etag: + - '"570888ce-0000-0100-0000-6486fd9c0000"' + expires: + - '-1' + mise-correlation-id: + - 0603c0d5-4a8f-44cc-b889-1785d37ab558 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","name":"nfa-tool-ts-cli-internalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:55:47.2834518Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:12:26.4838806Z"},"properties":{"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24"}],"connectedIPv6Subnets":[{"prefix":"2fff::/59"}],"staticRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1218' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:30 GMT + etag: + - '"57089bce-0000-0100-0000-6486fd9c0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork list + Connection: + - keep-alive + ParameterSetName: + - --resource-group --l3domain + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","name":"nfa-tool-ts-cli-internalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:55:47.2834518Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:12:26.4838806Z"},"properties":{"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24"}],"connectedIPv6Subnets":[{"prefix":"2fff::/59"}],"staticRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1230' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:37 GMT + etag: + - '"570839cf-0000-0100-0000-6486fda50000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + mise-correlation-id: + - d7bbf6fa-ca5d-4703-9045-7fc745421464 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","name":"faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","status":"Deleting","startTime":"2023-06-12T11:12:37.1162267Z"}' + headers: + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:38 GMT + etag: + - '"7303fc06-0000-0100-0000-6486fda50000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","name":"faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","status":"Succeeded","startTime":"2023-06-12T11:12:37.1162267Z","endTime":"2023-06-12T11:12:39.6023847Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '736' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:13:08 GMT + etag: + - '"73036607-0000-0100-0000-6486fda70000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf internalnetwork delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --l3domain --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","name":"faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","status":"Succeeded","startTime":"2023-06-12T11:12:37.1162267Z","endTime":"2023-06-12T11:12:39.6023847Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '736' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:13:08 GMT + etag: + - '"73036607-0000-0100-0000-6486fda70000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml new file mode 100644 index 00000000000..7380a1e433e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml @@ -0,0 +1,385 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipcommunity create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --action --well-known-communities + --community-members + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"action": "Deny", "communityMembers": + ["101:200", "101:201"], "wellKnownCommunities": ["LocalAS", "GShut"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipcommunity create + Connection: + - keep-alive + Content-Length: + - '146' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location --resource-name --action --well-known-communities + --community-members + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:46 GMT + etag: + - '"f402518a-0000-0100-0000-6486c8f10000"' + expires: + - '-1' + mise-correlation-id: + - 2ba855b4-ca19-4c50-bd2e-a208e9d196c1 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipcommunity show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}' + headers: + cache-control: + - no-cache + content-length: + - '724' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:48 GMT + etag: + - '"f402518a-0000-0100-0000-6486c8f10000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipcommunity list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/ipCommunities?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223","name":"nfa-tool-ts-cli-ipcommunity1-061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:15.2138953Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:12:15.2138953Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["100:200","101:201"],"provisioningState":"Succeeded","annotation":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1466' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 17410415-2ae4-4157-9a8e-fcf2a29c92f1 + - ba5b521e-b843-43e7-8002-3728da655778 + - ec1e63f7-6b09-4707-9022-ed3423e687a9 + - 5573d0f5-d077-4773-abbd-ccb98b617e87 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipcommunity list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}]}' + headers: + cache-control: + - no-cache + content-length: + - '736' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 72b9b0ac-526a-4d99-ba17-f447a3899b53 + - d4b166e5-ff21-4a96-a551-d9285f8a7f0c + - 34c7050b-9566-4ebc-88fa-76fc74a21573 + - 14585cf2-a6d2-48d6-a3e3-a0db7bab0bd4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipcommunity delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223?api-version=2023-02-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 12 Jun 2023 07:27:57 GMT + expires: + - '-1' + mise-correlation-id: + - a40db826-5388-40de-a0d5-870733c281de + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml new file mode 100644 index 00000000000..121282c7e91 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml @@ -0,0 +1,383 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipextendedcommunity create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --action --route-targets + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"action": "Deny", "routeTargets": + ["1024:219", "1001:200"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipextendedcommunity create + Connection: + - keep-alive + Content-Length: + - '98' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location --resource-name --action --route-targets + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}' + headers: + cache-control: + - no-cache + content-length: + - '701' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:52 GMT + etag: + - '"5a033344-0000-0100-0000-6486c8f70000"' + expires: + - '-1' + mise-correlation-id: + - e1059ba8-55ab-4e47-877c-f9d8791cbdd0 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipextendedcommunity show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}' + headers: + cache-control: + - no-cache + content-length: + - '701' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:54 GMT + etag: + - '"5a033344-0000-0100-0000-6486c8f70000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipextendedcommunity list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223","name":"nfa-tool-ts-cli-ipextcommunity1-061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:11.9881136Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:12:11.9881136Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1420' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 64bb6c1b-6936-4ded-b679-8fee5401454c + - 010d2293-7b0c-41f5-a53b-4082046a398e + - deb00add-bd5a-4e77-b69d-a7969a0407f3 + - 9cb78202-0b1f-4809-b336-84238ad8ea89 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipextendedcommunity list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}]}' + headers: + cache-control: + - no-cache + content-length: + - '713' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - f67d04dd-54dc-468b-a055-79b346fa0d43 + - c3c20bd2-bd06-402a-92f5-9a01058fe5ae + - 9b27acfb-41e8-4c4c-b191-9478f4372057 + - 18fb10da-fb8d-4dc2-8f48-67341c122b52 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipextendedcommunity delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223?api-version=2023-02-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 12 Jun 2023 07:28:00 GMT + expires: + - '-1' + mise-correlation-id: + - d6af2543-9c50-4196-9105-b297d9282493 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml new file mode 100644 index 00000000000..9487e6636fe --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml @@ -0,0 +1,384 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipprefix create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --ip-prefix-rules + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"ipPrefixRules": [{"action": "Permit", + "condition": "EqualTo", "networkPrefix": "10.12.14.0/24", "sequenceNumber": + 10, "subnetMaskLength": 24}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipprefix create + Connection: + - keep-alive + Content-Length: + - '183' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location --resource-name --ip-prefix-rules + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}' + headers: + cache-control: + - no-cache + content-length: + - '746' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:47 GMT + etag: + - '"f109ce17-0000-0100-0000-6486c8f20000"' + expires: + - '-1' + mise-correlation-id: + - 9a1101bc-5f8a-4b25-9c24-c9aa2c4ab603 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipprefix show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}' + headers: + cache-control: + - no-cache + content-length: + - '746' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:49 GMT + etag: + - '"f109ce17-0000-0100-0000-6486c8f20000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipprefix list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/ipPrefixes?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223","name":"nfa-tool-ts-cli-ipprefix1-061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:57.3440245Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:12:57.3440245Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":1234,"networkPrefix":"1.1.10.10/20","condition":"EqualTo","subnetMaskLength":25}],"provisioningState":"Succeeded","annotation":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1511' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - dbac1015-f71f-41b9-b7e2-236f748c4de9 + - 75cc9b08-2a11-478e-9063-3eef0a96a93a + - af0c27c9-0257-4a00-a92c-2530d4674ca7 + - f3990591-9193-41cb-9724-c7826e25ac4d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipprefix list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}]}' + headers: + cache-control: + - no-cache + content-length: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:27:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 1135bcc6-8f0c-4a1d-b6d4-ff7604b19073 + - 8e8cb988-893f-4f02-b805-f37b29f65854 + - 2b7f54fd-13cd-4940-8260-a384f5df94e6 + - 87372ca8-d96e-413b-a806-ab1b20abbb54 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf ipprefix delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223?api-version=2023-02-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 12 Jun 2023 07:27:59 GMT + expires: + - '-1' + mise-correlation-id: + - b10b7e29-85c9-433c-8339-7698d5f583c8 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml new file mode 100644 index 00000000000..9cffa40918d --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml @@ -0,0 +1,1539 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"networkFabricId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523", + "vlanId": 524}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + Content-Length: + - '253' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:46:46.1530583Z"},"properties":{"provisioningState":"Accepted","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '868' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:48 GMT + etag: + - '"790eea35-0000-0100-0000-6486f7970000"' + expires: + - '-1' + mise-correlation-id: + - e232eb88-5310-40a9-90a4-c908167fe5d5 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:46:49 GMT + etag: + - '"72030a9c-0000-0100-0000-6486f7970000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:47:19 GMT + etag: + - '"72030a9c-0000-0100-0000-6486f7970000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:47:50 GMT + etag: + - '"72030a9c-0000-0100-0000-6486f7970000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:20 GMT + etag: + - '"72030a9c-0000-0100-0000-6486f7970000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Succeeded","startTime":"2023-06-12T10:46:47.1743313Z","endTime":"2023-06-12T10:48:40.470201Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '680' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:50 GMT + etag: + - '"72032b9d-0000-0100-0000-6486f8080000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --vlan-id + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:51 GMT + etag: + - '"790ee43b-0000-0100-0000-6486f8090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:53 GMT + etag: + - '"790ee43b-0000-0100-0000-6486f8090000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '897' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - ab47e0a1-fdf7-4bd9-b97a-8eca911db2aa + - e121f69d-9589-4d04-9d50-1c973b2e8ad6 + - 47df1390-45dc-4319-b6a7-71a95e4e23c6 + - cb47bef2-7fdb-4580-862e-145a369afa16 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '897' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 5f59228d-bbba-4784-94e5-7386c8e6339c + - 636b7082-290c-48a3-8c67-6775eb503ec3 + - 21eb35af-b20d-4a2d-9e64-1e4f715729c2 + - 60e9ce46-587e-4130-958e-9abe5094401a + status: + code: 200 + message: OK +- request: + body: '{"state": "Enable"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain update-admin-state + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --state --no-wait + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223/updateAdministrativeState?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d59be579-7105-4d8c-bcd8-9a9ab3d91b06*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:57 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d59be579-7105-4d8c-bcd8-9a9ab3d91b06*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + mise-correlation-id: + - 73f1e9c8-e518-4570-84a4-aade4444fd5b + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: '{"state": "Disable"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain update-admin-state + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --state --no-wait + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223/updateAdministrativeState?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/6b028d6d-66c0-4f83-967b-7f115a1deb60*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:48:59 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/6b028d6d-66c0-4f83-967b-7f115a1deb60*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + mise-correlation-id: + - bd0245d7-a6cd-4ba2-918c-160a7011dd28 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:49:01 GMT + etag: + - '"790ee93f-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + mise-correlation-id: + - a27b43f7-a38a-45e5-b9d1-ad7a3c04ce88 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:49:02 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:49:33 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:50:03 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:50:35 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:51:06 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:51:36 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:52:08 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:52:38 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:53:10 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:53:40 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:54:10 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:54:42 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:55:13 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:55:43 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:56:14 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:56:45 GMT + etag: + - '"720361a0-0000-0100-0000-6486f81d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Succeeded","startTime":"2023-06-12T10:49:01.6230584Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '640' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:57:15 GMT + etag: + - '"6e003e1b-0000-0500-0000-6486f9ff0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Succeeded","startTime":"2023-06-12T10:49:01.6230584Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '640' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:57:16 GMT + etag: + - '"6e003e1b-0000-0500-0000-6486f9ff0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml new file mode 100644 index 00000000000..2a2b7f105c4 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml @@ -0,0 +1,628 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:10:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"aggregateRouteConfiguration": {"ipv4Routes": + [{"prefix": "10.0.0.1/27"}], "ipv6Routes": [{"prefix": "2fff::/59"}]}, "connectedSubnetRoutePolicy": + {"exportRoutePolicyId": ""}, "networkFabricId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523", + "redistributeConnectedSubnets": "True", "redistributeStaticRoutes": "True"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain create + Connection: + - keep-alive + Content-Length: + - '511' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:10:34.8698706Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Accepted","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1132' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:10:36 GMT + etag: + - '"230b89db-0000-0100-0000-6486fd2b0000"' + expires: + - '-1' + mise-correlation-id: + - 04e30eb4-b89f-48d8-a3a6-b9064782ee9f + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Accepted","startTime":"2023-06-12T11:10:35.7397793Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:10:37 GMT + etag: + - '"720310fb-0000-0100-0000-6486fd2b0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Succeeded","startTime":"2023-06-12T11:10:35.7397793Z","endTime":"2023-06-12T11:10:39.5286029Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '679' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:43 GMT + etag: + - '"720343fb-0000-0100-0000-6486fd2f0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' + headers: + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:44 GMT + etag: + - '"230be8db-0000-0100-0000-6486fd2f0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' + headers: + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:45 GMT + etag: + - '"230be8db-0000-0100-0000-6486fd2f0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223","name":"nfa-tool-ts-cli-l3domain1-061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:28:05.8232857Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:31:33.5671461Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28"},{"prefix":"10.0.0.2/28"}],"ipv6Routes":[{"prefix":"2fff::/64"},{"prefix":"2fff::/65"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '2365' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - bc526264-e73f-4ad5-b2e9-4a7a0b01b192 + - 301abfe9-28ae-48c1-86a8-9dee3649d2f9 + - 0aaee3ed-4378-4cb0-b3a6-655e072effc9 + - d868df91-dde1-456d-b6dc-6068e77c3647 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223","name":"nfa-tool-ts-cli-l3domain1-061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:28:05.8232857Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:31:33.5671461Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28"},{"prefix":"10.0.0.2/28"}],"ipv6Routes":[{"prefix":"2fff::/64"},{"prefix":"2fff::/65"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '2365' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 9349a434-1a09-41eb-a3f4-fd881d840c45 + - 978d30b8-d7ef-4f25-9485-920f9bb3d7cc + - 5113d834-de82-4cca-8cb7-d0767f97dc15 + - 1753f836-ff85-4d25-b1bd-d1581ebd4827 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:51 GMT + etag: + - '"230b3ee8-0000-0100-0000-6486fdb40000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + mise-correlation-id: + - 1251a9bd-91c0-4ef5-9656-220db8e93cfc + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Succeeded","startTime":"2023-06-12T11:12:52.226336Z","endTime":"2023-06-12T11:12:52.8667658Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '678' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:53 GMT + etag: + - '"7303ac08-0000-0100-0000-6486fdb40000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Succeeded","startTime":"2023-06-12T11:12:52.226336Z","endTime":"2023-06-12T11:12:52.8667658Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '678' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:12:53 GMT + etag: + - '"7303ac08-0000-0100-0000-6486fdb40000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml new file mode 100644 index 00000000000..186db8990af --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml @@ -0,0 +1,110 @@ +interactions: +- request: + body: '{"state": "Enable"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain update-admin-state + Connection: + - keep-alive + Content-Length: + - '19' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --state --no-wait + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/updateAdministrativeState?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9b67f6b9-231c-4f26-8e5c-3a90767ec15e*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:10:29 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9b67f6b9-231c-4f26-8e5c-3a90767ec15e*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + mise-correlation-id: + - f908c213-791a-4d67-baef-adae5a5ab6c3 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: '{"state": "Disable"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf l3domain update-admin-state + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --state --no-wait + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/updateAdministrativeState?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/59e14fa4-ca42-4bc7-b805-5c4d671802e0*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 11:10:31 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/59e14fa4-ca42-4bc7-b805-5c4d671802e0*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + mise-correlation-id: + - 48c2d637-ed00-4807-9cb4-7a97a96cb705 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml new file mode 100644 index 00000000000..e3853bf8213 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml @@ -0,0 +1,807 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --nf-sku --nfc-id --fabric-asn + --ipv4-prefix --ipv6-prefix --rack-count --server-count-per-rack --ts-config + --managed-network-config + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"fabricASN": 65523, "ipv4Prefix": + "10.1.0.0/19", "ipv6Prefix": "2fff::/59", "managementNetworkConfiguration": + {"infrastructureVpnConfiguration": {"optionBProperties": {"exportRouteTargets": + ["65531:1002", "65532:1003"], "importRouteTargets": ["65521:2001", "65512:2002"]}, + "peeringOption": "OptionB"}, "workloadVpnConfiguration": {"optionBProperties": + {"exportRouteTargets": ["65531:1230", "65532:2301"], "importRouteTargets": ["65541:2001", + "65542:2002"]}, "peeringOption": "OptionB"}}, "networkFabricControllerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223", + "networkFabricSku": "fab1", "rackCount": 3, "serverCountPerRack": 7, "terminalServerConfiguration": + {"password": "*****", "primaryIpv4Prefix": "20.20.0.0/27", "secondaryIpv4Prefix": + "20.20.0.0/25", "serialNumber": "1234", "username": "****"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric create + Connection: + - keep-alive + Content-Length: + - '991' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location --resource-name --nf-sku --nfc-id --fabric-asn + --ipv4-prefix --ipv6-prefix --rack-count --server-count-per-rack --ts-config + --managed-network-config + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:05:28.6473603Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Accepted","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1541' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:30 GMT + etag: + - '"2801747d-0000-0100-0000-6486ede90000"' + expires: + - '-1' + mise-correlation-id: + - b7fb6b64-e9d2-4489-8fb0-e9af4fbf7255 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --nf-sku --nfc-id --fabric-asn + --ipv4-prefix --ipv6-prefix --rack-count --server-count-per-rack --ts-config + --managed-network-config + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Updating","startTime":"2023-06-12T10:05:29.6325522Z"}' + headers: + cache-control: + - no-cache + content-length: + - '609' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:31 GMT + etag: + - '"72032c01-0000-0100-0000-6486ede90000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --nf-sku --nfc-id --fabric-asn + --ipv4-prefix --ipv6-prefix --rack-count --server-count-per-rack --ts-config + --managed-network-config + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Succeeded","startTime":"2023-06-12T10:05:29.6325522Z","endTime":"2023-06-12T10:05:36.5645141Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '669' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:02 GMT + etag: + - '"7203ea01-0000-0100-0000-6486edf00000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --nf-sku --nfc-id --fabric-asn + --ipv4-prefix --ipv6-prefix --rack-count --server-count-per-rack --ts-config + --managed-network-config + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' + headers: + cache-control: + - no-cache + content-length: + - '2143' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:02 GMT + etag: + - '"2801ea7e-0000-0100-0000-6486edf50000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' + headers: + cache-control: + - no-cache + content-length: + - '2143' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:04 GMT + etag: + - '"2801ea7e-0000-0100-0000-6486edf50000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkFabrics?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","name":"nfTestD15180423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"v-samkan@microsoft.com","createdByType":"User","createdAt":"2023-04-18T10:01:50.5560968Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T13:31:51.7541029Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-comprack2"],"networkFabricSku":"M4-A400-A100-C16-aa","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testnfcrg032323-reg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/testnfc032323-reg","terminalServerConfiguration":{"username":"root","serialNumber":"22482205168838","primaryIpv4Prefix":"10.11.255.248/30","secondaryIpv4Prefix":"10.11.255.240/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":512,"peerASN":64433,"bfdConfiguration":null,"primaryIpv4Prefix":"10.11.0.132/30","secondaryIpv4Prefix":"10.11.0.136/30"},"optionBProperties":{"importRouteTargets":["10000:64433","10000:64433"],"exportRouteTargets":["10000:64433","10000:64433"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":64433,"bfdConfiguration":null,"primaryIpv4Prefix":"10.11.0.120/30","secondaryIpv4Prefix":"10.11.0.116/30"},"optionBProperties":{"importRouteTargets":["10000:64433","10000:64433"],"exportRouteTargets":["10000:64433","10000:64433"]}}},"provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":4,"ipv4Prefix":"10.11.0.0/19","ipv6Prefix":"fda0:d59c:da11::/59","fabricASN":10000}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-15T13:46:32.7512554Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-15T13:50:53.4374126Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabriccontrollers/labtest022323","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-16T05:52:29.6655592Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-16T05:56:44.8087551Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkfabriccontrollers/NFC0516","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabrics/NF-test-0515","name":"NF-test-0515","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-16T07:03:48.2720556Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-16T07:07:30.0234852Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabriccontrollers/NFC-test-0515","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"operationalState":"Deprovisioned","provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scusnfrgsanity042323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/scusnfsanity042323","name":"scusnfsanity042323","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-kokreddy@microsoft.com","createdByType":"User","createdAt":"2023-04-23T08:58:57.6893718Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-23T08:59:00.1542758Z"},"properties":{"networkFabricSku":"M4-A400-A100-C16-aa","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/d15fixnfcrg042023/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/d15fixnfc042023","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.12/30","secondaryIpv4Prefix":"20.0.1.12/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":2,"ipv4Prefix":"10.18.0.0/16","ipv6Prefix":"fda0:d59c:da12::/59","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","name":"nfa-tool-ts-nf060523","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T07:01:20.2777059Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:26:36.2848754Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack2"],"l2IsolationDomains":[],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"qwer","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","name":"nfa-tool-ts-cli-nf1-061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:42:43.9104581Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:56.5116367Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clitestrg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"operationalState":"Deprovisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-04-26T09:09:39.7050638Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-26T09:09:43.5022299Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabriccontrollers/nfcankitha","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}}]}' + headers: + cache-control: + - no-cache + content-length: + - '16307' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - c586576b-3c77-4f52-a367-4a4ae7bded1f + - 045639dc-b2b8-4333-9b99-6bc5c2e128da + - 476eedab-bb38-4801-97c8-4de24cd28ea8 + - bee45309-e31e-4791-baa1-569e00b51e48 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","name":"nfa-tool-ts-nf060523","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T07:01:20.2777059Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:26:36.2848754Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack2"],"l2IsolationDomains":[],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"qwer","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","name":"nfa-tool-ts-cli-nf1-061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:42:43.9104581Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:56.5116367Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clitestrg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"operationalState":"Deprovisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}]}' + headers: + cache-control: + - no-cache + content-length: + - '6546' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 7df8135c-deff-4a81-a8af-a292e0ae8d10 + - ca4de559-a148-48ae-baed-700c5b918afb + - c7c621d2-1008-45bc-bd3b-aa97a1d81bb1 + - 174e20cd-990c-446a-8e6e-ac3d0b8c329c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:10 GMT + etag: + - '"28014781-0000-0100-0000-6486ee120000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + mise-correlation-id: + - 5e46e139-555a-4c89-8ba2-ac6d293eb120 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + headers: + cache-control: + - no-cache + content-length: + - '608' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:11 GMT + etag: + - '"7203fd04-0000-0100-0000-6486ee110000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + headers: + cache-control: + - no-cache + content-length: + - '608' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:06:41 GMT + etag: + - '"7203fd04-0000-0100-0000-6486ee110000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + headers: + cache-control: + - no-cache + content-length: + - '608' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:07:12 GMT + etag: + - '"7203fd04-0000-0100-0000-6486ee110000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + headers: + cache-control: + - no-cache + content-length: + - '608' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:07:42 GMT + etag: + - '"7203fd04-0000-0100-0000-6486ee110000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Succeeded","startTime":"2023-06-12T10:06:09.745744Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '627' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:08:13 GMT + etag: + - '"6c007e5a-0000-0500-0000-6486ee860000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Succeeded","startTime":"2023-06-12T10:06:09.745744Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '627' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:08:13 GMT + etag: + - '"6c007e5a-0000-0500-0000-6486ee860000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml new file mode 100644 index 00000000000..845660b29e8 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml @@ -0,0 +1,332 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric provision + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/provision?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:22 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + mise-correlation-id: + - 315cb501-e90f-4ae9-b27a-d3f54d25a26c + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric provision + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Updating","startTime":"2023-06-12T10:05:21.8114654Z"}' + headers: + cache-control: + - no-cache + content-length: + - '611' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:23 GMT + etag: + - '"72036b00-0000-0100-0000-6486ede20000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric provision + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:21.8114654Z","endTime":"2023-06-12T10:05:50.7176295Z","error":{"code":"NetworkFabricProvisionFailed","message":"!isProcessed"},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '744' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:53 GMT + etag: + - '"72030f03-0000-0100-0000-6486edfe0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric provision + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:21.8114654Z","endTime":"2023-06-12T10:05:50.7176295Z","error":{"code":"NetworkFabricProvisionFailed","message":"!isProcessed"},"properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '744' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:53 GMT + etag: + - '"72030f03-0000-0100-0000-6486edfe0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric deprovision + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/deprovision?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:55 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + mise-correlation-id: + - 6e1c62dc-3075-4d22-bf3e-ee99ea95f318 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric deprovision + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:56.2207839Z","endTime":"2023-06-12T10:05:56.6559064Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '671' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:56 GMT + etag: + - '"72035303-0000-0100-0000-6486ee040000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf fabric deprovision + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:56.2207839Z","endTime":"2023-06-12T10:05:56.6559064Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '671' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 10:05:57 GMT + etag: + - '"72035303-0000-0100-0000-6486ee040000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml new file mode 100644 index 00000000000..2f423df7af8 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml @@ -0,0 +1,340 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --location --resource-name --infra-er-connections --workload-er-connections + --ipv4-address-space --no-wait + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"infrastructureExpressRouteConnections": + [{"expressRouteAuthorizationKey": "", "expressRouteCircuitId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}], + "ipv4AddressSpace": "20.0.0.0/19", "workloadExpressRouteConnections": [{"expressRouteAuthorizationKey": + "", "expressRouteCircuitId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller create + Connection: + - keep-alive + Content-Length: + - '591' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --location --resource-name --infra-er-connections --workload-er-connections + --ipv4-address-space --no-wait + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/dffcc6b3-407e-43fd-b994-3e666d95d1f9*AE553FAA5CF7990617C3CFD44A6DAA4D98D0A723FD5CF6B3F66A80A5413A0199?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1183' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:47 GMT + etag: + - '"b103bfed-0000-0100-0000-6486cda10000"' + expires: + - '-1' + mise-correlation-id: + - c2c89ef5-35f1-4571-a302-b805a857ea77 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}}' + headers: + cache-control: + - no-cache + content-length: + - '1183' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:48 GMT + etag: + - '"b103bfed-0000-0100-0000-6486cda10000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkFabriccontrollers/NFC-Test-172023","name":"NFC-Test-172023","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"v-thvishnupr@microsoft.com","createdByType":"User","createdAt":"2023-05-17T07:19:00.9840797Z","lastModifiedBy":"v-thvishnupr@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-17T07:19:00.9840797Z"},"properties":{"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"managedResourceGroupName"},"ipv4AddressSpace":"10.245.160.0/19","annotation":"lab1","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-11"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-12"}],"provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nffab303012023","name":"nffab303012023","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"v-rajonnalag@microsoft.com","createdByType":"User","createdAt":"2023-05-17T10:39:01.7469605Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-05-17T11:37:37.6081548Z"},"properties":{"ipv4AddressSpace":"10.0.0.0/19","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}],"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nffab303012023-HostedResources-4985EE11"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nfc240523","name":"nfc240523","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-24T09:51:45.7718562Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-24T09:51:45.7718562Z"},"properties":{"ipv4AddressSpace":"10.0.0.0/19","annotation":"Fab2","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}],"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nfc240523-HostedResources-0C087F5B"},"provisioningState":"Failed","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","name":"nfa-tool-ts-nfc060223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T05:39:38.5844335Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:32.9373857Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc060223-HostedResources-4166D7B2"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkfabrics/nfa-tool-ts-nf060523"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","name":"nfa-tool-ts-nfc1-061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:00:37.4775301Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T07:27:05.6494666Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":""}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":""}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc1-061223-HostedResources-6874933D"},"provisioningState":"Deleting","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabriccontrollers/E2E-Test-NFC","name":"E2E-Test-NFC","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-04-26T05:50:56.589034Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-26T06:39:57.993253Z"},"properties":{"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["172.253.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["172.253.28.0/22"],"ipv6AddressSpaces":[]},"managedResourceGroupConfiguration":{"location":"westus3","name":"managedResourceGroupName"},"ipv4AddressSpace":"172.253.0.0/19","annotation":"lab + 1","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '9520' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 6d852ef1-611e-4c00-ac8b-d9b9a56d8733 + - ed722a1d-04a1-4873-acb5-375b0a3652f9 + - 4a7a8bca-ad26-4565-88b9-d2462e14c5fb + - 9151c86f-ce3a-49cd-b864-d93ed2629445 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","name":"nfa-tool-ts-nfc060223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T05:39:38.5844335Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:32.9373857Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc060223-HostedResources-4166D7B2"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkfabrics/nfa-tool-ts-nf060523"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","name":"nfa-tool-ts-nfc1-061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:00:37.4775301Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T07:27:05.6494666Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":""}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":""}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc1-061223-HostedResources-6874933D"},"provisioningState":"Deleting","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '3757' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 13255c05-4e4e-4336-bab6-f1748248aee5 + - dad39d48-2c0e-495f-9797-44272b1269ce + - 8d975fa2-a377-42dd-af43-236ed28b84cd + - 07071ed0-0fae-4887-af8b-5e223cd372ec + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml new file mode 100644 index 00000000000..4253096cbf0 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml @@ -0,0 +1,1492 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:38 GMT + etag: + - '"b103b8ed-0000-0100-0000-6486cd9b0000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + mise-correlation-id: + - f5377416-f011-4959-8d32-5b09ed5470e5 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:47:39 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:48:10 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:48:40 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:49:10 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:49:40 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:50:11 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:50:41 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:51:12 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:51:42 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:52:12 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:52:43 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:53:13 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:53:43 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:54:13 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:54:44 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:55:15 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:55:45 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:56:16 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:56:46 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:57:16 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:57:46 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:58:18 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:58:48 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:59:18 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:59:49 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:00:19 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:00:49 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:01:20 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:01:50 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:02:20 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:02:51 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:03:21 GMT + etag: + - '"70035a04-0000-0100-0000-6486cd9a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Succeeded","startTime":"2023-06-12T07:47:38.7819792Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '638' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:03:52 GMT + etag: + - '"690068c4-0000-0500-0000-6486d1680000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf controller delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Succeeded","startTime":"2023-06-12T07:47:38.7819792Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '638' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 08:03:52 GMT + etag: + - '"690068c4-0000-0500-0000-6486d1680000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml new file mode 100644 index 00000000000..041d8a07ed3 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml @@ -0,0 +1,204 @@ +interactions: +- request: + body: '{"properties": {"isManagementType": "True", "layer2Configuration": {"mtu": + 1500, "portCount": 3}, "layer3Configuration": {"exportRoutePolicyId": "", + "importRoutePolicyId": "", "peerASN": 65535, "primaryIpv4Prefix": + "20.20.0.0/27", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/127", "secondaryIpv4Prefix": + "20.20.0.0/25", "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/127", "vlanId": + 600}, "useOptionB": "True"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf nni create + Connection: + - keep-alive + Content-Length: + - '450' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --fabric --is-management-type --use-option-b + --layer2-configuration --layer3-configuration + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:59:06.1462681Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:59:06.1462681Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1067' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:59:09 GMT + etag: + - '"00005e20-0000-0100-0000-6486ec6d0000"' + expires: + - '-1' + mise-correlation-id: + - 1d5db3e8-efa4-4b83-8e05-dac7d70a4d9a + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf nni show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group --fabric + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:59:06.1462681Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:59:06.1462681Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1067' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:59:13 GMT + etag: + - '"00005e20-0000-0100-0000-6486ec6d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf nni list + Connection: + - keep-alive + ParameterSetName: + - --resource-group --fabric + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:59:06.1462681Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:59:06.1462681Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1079' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 09:59:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf nni delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group --fabric + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223?api-version=2023-02-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 12 Jun 2023 09:59:18 GMT + expires: + - '-1' + mise-correlation-id: + - c67d67e7-e4bf-4525-aeb8-a4a8dfa4bb3c + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml new file mode 100644 index 00000000000..117b7f0756e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml @@ -0,0 +1,474 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"statements": [{"action": {"actionType": + "Permit", "ipCommunityProperties": {"add": {"ipCommunityIds": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}, + "localPreference": 113}, "condition": {"ipCommunityIds": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"], + "ipPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"}, + "sequenceNumber": 1214}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + Content-Length: + - '827' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:17.6846934Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Accepted"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1377' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:19 GMT + etag: + - '"660b31fe-0000-0100-0000-6486cc1e0000"' + expires: + - '-1' + mise-correlation-id: + - 915315bc-8801-4d0f-a67f-499250e44ade + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:18.5769686Z","endTime":"2023-06-12T07:41:19.4316867Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '677' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:20 GMT + etag: + - '"6f03adef-0000-0100-0000-6486cc1f0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:17.6846934Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1378' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:21 GMT + etag: + - '"660b49fe-0000-0100-0000-6486cc1f0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1378' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:31 GMT + etag: + - '"660b6efe-0000-0100-0000-6486cc220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-Fab1-l3domain-connsubnet-ext-policy","name":"rcf-Fab1-l3domain-connsubnet-ext-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-05-09T10:31:48.9140534Z","lastModifiedBy":"v-akurapati@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-09T10:31:48.9140534Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":[""]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '2159' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - bee8b063-0b56-442e-86f6-260735c41710 + - d8104ec5-f784-49f7-b40b-23d02f7a0a69 + - c81178e2-7a4a-40a9-a99c-a9d006b8d8bf + - 488fbd00-31ac-41d1-ae19-ce38521c5fe4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 2a51d47e-fe8f-4ee4-b7cb-1967bf09b5fc + - 1774537e-10d7-4190-b87a-e6d8435e1526 + - 9c9ef938-dbce-4a7a-a329-e43e283c8f26 + - c6926b29-266c-4f1b-9153-1b8f1524cada + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Mon, 12 Jun 2023 07:41:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 204 + message: No Content +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml new file mode 100644 index 00000000000..01f9d042a61 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml @@ -0,0 +1,579 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2019-11-01 + response: + body: + string: "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\",\"name\":\"eastus\",\"displayName\":\"East + US\",\"regionalDisplayName\":\"(US) East US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"westus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\",\"name\":\"eastus2\",\"displayName\":\"East + US 2\",\"regionalDisplayName\":\"(US) East US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"centralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\",\"name\":\"southcentralus\",\"displayName\":\"South + Central US\",\"regionalDisplayName\":\"(US) South Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"northcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\",\"name\":\"westus2\",\"displayName\":\"West + US 2\",\"regionalDisplayName\":\"(US) West US 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-119.852\",\"latitude\":\"47.233\",\"physicalLocation\":\"Washington\",\"pairedRegion\":[{\"name\":\"westcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus3\",\"name\":\"westus3\",\"displayName\":\"West + US 3\",\"regionalDisplayName\":\"(US) West US 3\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-112.074036\",\"latitude\":\"33.448376\",\"physicalLocation\":\"Phoenix\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\",\"name\":\"australiaeast\",\"displayName\":\"Australia + East\",\"regionalDisplayName\":\"(Asia Pacific) Australia East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"151.2094\",\"latitude\":\"-33.86\",\"physicalLocation\":\"New + South Wales\",\"pairedRegion\":[{\"name\":\"australiasoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\",\"name\":\"southeastasia\",\"displayName\":\"Southeast + Asia\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"103.833\",\"latitude\":\"1.283\",\"physicalLocation\":\"Singapore\",\"pairedRegion\":[{\"name\":\"eastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\",\"name\":\"northeurope\",\"displayName\":\"North + Europe\",\"regionalDisplayName\":\"(Europe) North Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-6.2597\",\"latitude\":\"53.3478\",\"physicalLocation\":\"Ireland\",\"pairedRegion\":[{\"name\":\"westeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedencentral\",\"name\":\"swedencentral\",\"displayName\":\"Sweden + Central\",\"regionalDisplayName\":\"(Europe) Sweden Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"17.14127\",\"latitude\":\"60.67488\",\"physicalLocation\":\"G\xE4vle\",\"pairedRegion\":[{\"name\":\"swedensouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/swedensouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\",\"name\":\"uksouth\",\"displayName\":\"UK + South\",\"regionalDisplayName\":\"(Europe) UK South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"-0.799\",\"latitude\":\"50.941\",\"physicalLocation\":\"London\",\"pairedRegion\":[{\"name\":\"ukwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope\",\"name\":\"westeurope\",\"displayName\":\"West + Europe\",\"regionalDisplayName\":\"(Europe) West Europe\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"4.9\",\"latitude\":\"52.3667\",\"physicalLocation\":\"Netherlands\",\"pairedRegion\":[{\"name\":\"northeurope\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northeurope\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralus\",\"name\":\"centralus\",\"displayName\":\"Central + US\",\"regionalDisplayName\":\"(US) Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"Iowa\",\"pairedRegion\":[{\"name\":\"eastus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\",\"name\":\"southafricanorth\",\"displayName\":\"South + Africa North\",\"regionalDisplayName\":\"(Africa) South Africa North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Africa\",\"longitude\":\"28.21837\",\"latitude\":\"-25.73134\",\"physicalLocation\":\"Johannesburg\",\"pairedRegion\":[{\"name\":\"southafricawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\",\"name\":\"centralindia\",\"displayName\":\"Central + India\",\"regionalDisplayName\":\"(Asia Pacific) Central India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"73.9197\",\"latitude\":\"18.5822\",\"physicalLocation\":\"Pune\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasia\",\"name\":\"eastasia\",\"displayName\":\"East + Asia\",\"regionalDisplayName\":\"(Asia Pacific) East Asia\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"114.188\",\"latitude\":\"22.267\",\"physicalLocation\":\"Hong + Kong\",\"pairedRegion\":[{\"name\":\"southeastasia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\",\"name\":\"japaneast\",\"displayName\":\"Japan + East\",\"regionalDisplayName\":\"(Asia Pacific) Japan East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"139.77\",\"latitude\":\"35.68\",\"physicalLocation\":\"Tokyo, + Saitama\",\"pairedRegion\":[{\"name\":\"japanwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\",\"name\":\"koreacentral\",\"displayName\":\"Korea + Central\",\"regionalDisplayName\":\"(Asia Pacific) Korea Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"126.978\",\"latitude\":\"37.5665\",\"physicalLocation\":\"Seoul\",\"pairedRegion\":[{\"name\":\"koreasouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\",\"name\":\"canadacentral\",\"displayName\":\"Canada + Central\",\"regionalDisplayName\":\"(Canada) Canada Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Canada\",\"longitude\":\"-79.383\",\"latitude\":\"43.653\",\"physicalLocation\":\"Toronto\",\"pairedRegion\":[{\"name\":\"canadaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\",\"name\":\"francecentral\",\"displayName\":\"France + Central\",\"regionalDisplayName\":\"(Europe) France Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.373\",\"latitude\":\"46.3772\",\"physicalLocation\":\"Paris\",\"pairedRegion\":[{\"name\":\"francesouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\",\"name\":\"germanywestcentral\",\"displayName\":\"Germany + West Central\",\"regionalDisplayName\":\"(Europe) Germany West Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.682127\",\"latitude\":\"50.110924\",\"physicalLocation\":\"Frankfurt\",\"pairedRegion\":[{\"name\":\"germanynorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\",\"name\":\"norwayeast\",\"displayName\":\"Norway + East\",\"regionalDisplayName\":\"(Europe) Norway East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"10.752245\",\"latitude\":\"59.913868\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwaywest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/polandcentral\",\"name\":\"polandcentral\",\"displayName\":\"Poland + Central\",\"regionalDisplayName\":\"(Europe) Poland Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"21.01666\",\"latitude\":\"52.23334\",\"physicalLocation\":\"Warsaw\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\",\"name\":\"switzerlandnorth\",\"displayName\":\"Switzerland + North\",\"regionalDisplayName\":\"(Europe) Switzerland North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.564572\",\"latitude\":\"47.451542\",\"physicalLocation\":\"Zurich\",\"pairedRegion\":[{\"name\":\"switzerlandwest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\",\"name\":\"uaenorth\",\"displayName\":\"UAE + North\",\"regionalDisplayName\":\"(Middle East) UAE North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"55.316666\",\"latitude\":\"25.266666\",\"physicalLocation\":\"Dubai\",\"pairedRegion\":[{\"name\":\"uaecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\",\"name\":\"brazilsouth\",\"displayName\":\"Brazil + South\",\"regionalDisplayName\":\"(South America) Brazil South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"South + America\",\"longitude\":\"-46.633\",\"latitude\":\"-23.55\",\"physicalLocation\":\"Sao + Paulo State\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\",\"name\":\"centraluseuap\",\"displayName\":\"Central + US EUAP\",\"regionalDisplayName\":\"(US) Central US EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-93.6208\",\"latitude\":\"41.5908\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"eastus2euap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap\",\"name\":\"eastus2euap\",\"displayName\":\"East + US 2 EUAP\",\"regionalDisplayName\":\"(US) East US 2 EUAP\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"US\",\"longitude\":\"-78.3889\",\"latitude\":\"36.6681\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"centraluseuap\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centraluseuap\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/qatarcentral\",\"name\":\"qatarcentral\",\"displayName\":\"Qatar + Central\",\"regionalDisplayName\":\"(Middle East) Qatar Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Recommended\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"51.439327\",\"latitude\":\"25.551462\",\"physicalLocation\":\"Doha\",\"pairedRegion\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralusstage\",\"name\":\"centralusstage\",\"displayName\":\"Central + US (Stage)\",\"regionalDisplayName\":\"(US) Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstage\",\"name\":\"eastusstage\",\"displayName\":\"East + US (Stage)\",\"regionalDisplayName\":\"(US) East US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2stage\",\"name\":\"eastus2stage\",\"displayName\":\"East + US 2 (Stage)\",\"regionalDisplayName\":\"(US) East US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralusstage\",\"name\":\"northcentralusstage\",\"displayName\":\"North + Central US (Stage)\",\"regionalDisplayName\":\"(US) North Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstage\",\"name\":\"southcentralusstage\",\"displayName\":\"South + Central US (Stage)\",\"regionalDisplayName\":\"(US) South Central US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westusstage\",\"name\":\"westusstage\",\"displayName\":\"West + US (Stage)\",\"regionalDisplayName\":\"(US) West US (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2stage\",\"name\":\"westus2stage\",\"displayName\":\"West + US 2 (Stage)\",\"regionalDisplayName\":\"(US) West US 2 (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asia\",\"name\":\"asia\",\"displayName\":\"Asia\",\"regionalDisplayName\":\"Asia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/asiapacific\",\"name\":\"asiapacific\",\"displayName\":\"Asia + Pacific\",\"regionalDisplayName\":\"Asia Pacific\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australia\",\"name\":\"australia\",\"displayName\":\"Australia\",\"regionalDisplayName\":\"Australia\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazil\",\"name\":\"brazil\",\"displayName\":\"Brazil\",\"regionalDisplayName\":\"Brazil\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canada\",\"name\":\"canada\",\"displayName\":\"Canada\",\"regionalDisplayName\":\"Canada\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/europe\",\"name\":\"europe\",\"displayName\":\"Europe\",\"regionalDisplayName\":\"Europe\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/france\",\"name\":\"france\",\"displayName\":\"France\",\"regionalDisplayName\":\"France\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germany\",\"name\":\"germany\",\"displayName\":\"Germany\",\"regionalDisplayName\":\"Germany\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/global\",\"name\":\"global\",\"displayName\":\"Global\",\"regionalDisplayName\":\"Global\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/india\",\"name\":\"india\",\"displayName\":\"India\",\"regionalDisplayName\":\"India\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japan\",\"name\":\"japan\",\"displayName\":\"Japan\",\"regionalDisplayName\":\"Japan\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/korea\",\"name\":\"korea\",\"displayName\":\"Korea\",\"regionalDisplayName\":\"Korea\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norway\",\"name\":\"norway\",\"displayName\":\"Norway\",\"regionalDisplayName\":\"Norway\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/singapore\",\"name\":\"singapore\",\"displayName\":\"Singapore\",\"regionalDisplayName\":\"Singapore\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafrica\",\"name\":\"southafrica\",\"displayName\":\"South + Africa\",\"regionalDisplayName\":\"South Africa\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerland\",\"name\":\"switzerland\",\"displayName\":\"Switzerland\",\"regionalDisplayName\":\"Switzerland\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uae\",\"name\":\"uae\",\"displayName\":\"United + Arab Emirates\",\"regionalDisplayName\":\"United Arab Emirates\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uk\",\"name\":\"uk\",\"displayName\":\"United + Kingdom\",\"regionalDisplayName\":\"United Kingdom\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstates\",\"name\":\"unitedstates\",\"displayName\":\"United + States\",\"regionalDisplayName\":\"United States\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/unitedstateseuap\",\"name\":\"unitedstateseuap\",\"displayName\":\"United + States EUAP\",\"regionalDisplayName\":\"United States EUAP\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastasiastage\",\"name\":\"eastasiastage\",\"displayName\":\"East + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) East Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southeastasiastage\",\"name\":\"southeastasiastage\",\"displayName\":\"Southeast + Asia (Stage)\",\"regionalDisplayName\":\"(Asia Pacific) Southeast Asia (Stage)\",\"metadata\":{\"regionType\":\"Logical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilus\",\"name\":\"brazilus\",\"displayName\":\"Brazil + US\",\"regionalDisplayName\":\"(South America) Brazil US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"0\",\"latitude\":\"0\",\"physicalLocation\":\"\",\"pairedRegion\":[{\"name\":\"brazilsoutheast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\",\"name\":\"eastusstg\",\"displayName\":\"East + US STG\",\"regionalDisplayName\":\"(US) East US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-79.8164\",\"latitude\":\"37.3719\",\"physicalLocation\":\"Virginia\",\"pairedRegion\":[{\"name\":\"southcentralusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/northcentralus\",\"name\":\"northcentralus\",\"displayName\":\"North + Central US\",\"regionalDisplayName\":\"(US) North Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-87.6278\",\"latitude\":\"41.8819\",\"physicalLocation\":\"Illinois\",\"pairedRegion\":[{\"name\":\"southcentralus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus\",\"name\":\"westus\",\"displayName\":\"West + US\",\"regionalDisplayName\":\"(US) West US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-122.417\",\"latitude\":\"37.783\",\"physicalLocation\":\"California\",\"pairedRegion\":[{\"name\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\",\"name\":\"jioindiawest\",\"displayName\":\"Jio + India West\",\"regionalDisplayName\":\"(Asia Pacific) Jio India West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"70.05773\",\"latitude\":\"22.470701\",\"physicalLocation\":\"Jamnagar\",\"pairedRegion\":[{\"name\":\"jioindiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southcentralusstg\",\"name\":\"southcentralusstg\",\"displayName\":\"South + Central US STG\",\"regionalDisplayName\":\"(US) South Central US STG\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-98.5\",\"latitude\":\"29.4167\",\"physicalLocation\":\"Texas\",\"pairedRegion\":[{\"name\":\"eastusstg\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastusstg\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westcentralus\",\"name\":\"westcentralus\",\"displayName\":\"West + Central US\",\"regionalDisplayName\":\"(US) West Central US\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"US\",\"longitude\":\"-110.234\",\"latitude\":\"40.89\",\"physicalLocation\":\"Wyoming\",\"pairedRegion\":[{\"name\":\"westus2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricawest\",\"name\":\"southafricawest\",\"displayName\":\"South + Africa West\",\"regionalDisplayName\":\"(Africa) South Africa West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Africa\",\"longitude\":\"18.843266\",\"latitude\":\"-34.075691\",\"physicalLocation\":\"Cape + Town\",\"pairedRegion\":[{\"name\":\"southafricanorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southafricanorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\",\"name\":\"australiacentral\",\"displayName\":\"Australia + Central\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\",\"name\":\"australiacentral2\",\"displayName\":\"Australia + Central 2\",\"regionalDisplayName\":\"(Asia Pacific) Australia Central 2\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"149.1244\",\"latitude\":\"-35.3075\",\"physicalLocation\":\"Canberra\",\"pairedRegion\":[{\"name\":\"australiacentral2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiacentral2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiasoutheast\",\"name\":\"australiasoutheast\",\"displayName\":\"Australia + Southeast\",\"regionalDisplayName\":\"(Asia Pacific) Australia Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"144.9631\",\"latitude\":\"-37.8136\",\"physicalLocation\":\"Victoria\",\"pairedRegion\":[{\"name\":\"australiaeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/australiaeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japanwest\",\"name\":\"japanwest\",\"displayName\":\"Japan + West\",\"regionalDisplayName\":\"(Asia Pacific) Japan West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"135.5022\",\"latitude\":\"34.6939\",\"physicalLocation\":\"Osaka\",\"pairedRegion\":[{\"name\":\"japaneast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/japaneast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiacentral\",\"name\":\"jioindiacentral\",\"displayName\":\"Jio + India Central\",\"regionalDisplayName\":\"(Asia Pacific) Jio India Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"79.08886\",\"latitude\":\"21.146633\",\"physicalLocation\":\"Nagpur\",\"pairedRegion\":[{\"name\":\"jioindiawest\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/jioindiawest\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreasouth\",\"name\":\"koreasouth\",\"displayName\":\"Korea + South\",\"regionalDisplayName\":\"(Asia Pacific) Korea South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"129.0756\",\"latitude\":\"35.1796\",\"physicalLocation\":\"Busan\",\"pairedRegion\":[{\"name\":\"koreacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/koreacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\",\"name\":\"southindia\",\"displayName\":\"South + India\",\"regionalDisplayName\":\"(Asia Pacific) South India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"80.1636\",\"latitude\":\"12.9822\",\"physicalLocation\":\"Chennai\",\"pairedRegion\":[{\"name\":\"centralindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/centralindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westindia\",\"name\":\"westindia\",\"displayName\":\"West + India\",\"regionalDisplayName\":\"(Asia Pacific) West India\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Asia + Pacific\",\"longitude\":\"72.868\",\"latitude\":\"19.088\",\"physicalLocation\":\"Mumbai\",\"pairedRegion\":[{\"name\":\"southindia\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/southindia\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadaeast\",\"name\":\"canadaeast\",\"displayName\":\"Canada + East\",\"regionalDisplayName\":\"(Canada) Canada East\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Canada\",\"longitude\":\"-71.217\",\"latitude\":\"46.817\",\"physicalLocation\":\"Quebec\",\"pairedRegion\":[{\"name\":\"canadacentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/canadacentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francesouth\",\"name\":\"francesouth\",\"displayName\":\"France + South\",\"regionalDisplayName\":\"(Europe) France South\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"2.1972\",\"latitude\":\"43.8345\",\"physicalLocation\":\"Marseille\",\"pairedRegion\":[{\"name\":\"francecentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/francecentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanynorth\",\"name\":\"germanynorth\",\"displayName\":\"Germany + North\",\"regionalDisplayName\":\"(Europe) Germany North\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"8.806422\",\"latitude\":\"53.073635\",\"physicalLocation\":\"Berlin\",\"pairedRegion\":[{\"name\":\"germanywestcentral\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/germanywestcentral\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwaywest\",\"name\":\"norwaywest\",\"displayName\":\"Norway + West\",\"regionalDisplayName\":\"(Europe) Norway West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"5.733107\",\"latitude\":\"58.969975\",\"physicalLocation\":\"Norway\",\"pairedRegion\":[{\"name\":\"norwayeast\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/norwayeast\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandwest\",\"name\":\"switzerlandwest\",\"displayName\":\"Switzerland + West\",\"regionalDisplayName\":\"(Europe) Switzerland West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"6.143158\",\"latitude\":\"46.204391\",\"physicalLocation\":\"Geneva\",\"pairedRegion\":[{\"name\":\"switzerlandnorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/switzerlandnorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/ukwest\",\"name\":\"ukwest\",\"displayName\":\"UK + West\",\"regionalDisplayName\":\"(Europe) UK West\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Europe\",\"longitude\":\"-3.084\",\"latitude\":\"53.427\",\"physicalLocation\":\"Cardiff\",\"pairedRegion\":[{\"name\":\"uksouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uksouth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaecentral\",\"name\":\"uaecentral\",\"displayName\":\"UAE + Central\",\"regionalDisplayName\":\"(Middle East) UAE Central\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"Middle + East\",\"longitude\":\"54.366669\",\"latitude\":\"24.466667\",\"physicalLocation\":\"Abu + Dhabi\",\"pairedRegion\":[{\"name\":\"uaenorth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/uaenorth\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsoutheast\",\"name\":\"brazilsoutheast\",\"displayName\":\"Brazil + Southeast\",\"regionalDisplayName\":\"(South America) Brazil Southeast\",\"metadata\":{\"regionType\":\"Physical\",\"regionCategory\":\"Other\",\"geographyGroup\":\"South + America\",\"longitude\":\"-43.2075\",\"latitude\":\"-22.90278\",\"physicalLocation\":\"Rio\",\"pairedRegion\":[{\"name\":\"brazilsouth\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/locations/brazilsouth\"}]}}]}" + headers: + cache-control: + - no-cache + content-length: + - '31169' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"statements": [{"action": {"actionType": + "Permit", "ipExtendedCommunityProperties": {"add": {"ipExtendedCommunityIds": + ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}, + "localPreference": 113}, "condition": {"ipExtendedCommunityIds": ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"], + "ipPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"}, + "sequenceNumber": 1214}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + Content-Length: + - '873' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Accepted"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '1423' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:22 GMT + etag: + - '"660b67fe-0000-0100-0000-6486cc220000"' + expires: + - '-1' + mise-correlation-id: + - 743fb3d0-ea62-4240-9de2-8edb7a73aa9d + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:21.9651079Z","endTime":"2023-06-12T07:41:22.4661626Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '677' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:23 GMT + etag: + - '"6f03f2ef-0000-0100-0000-6486cc220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --statements + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1378' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:24 GMT + etag: + - '"660b6efe-0000-0100-0000-6486cc220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy show + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1378' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:29 GMT + etag: + - '"660b6efe-0000-0100-0000-6486cc220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy list + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-Fab1-l3domain-connsubnet-ext-policy","name":"rcf-Fab1-l3domain-connsubnet-ext-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-05-09T10:31:48.9140534Z","lastModifiedBy":"v-akurapati@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-09T10:31:48.9140534Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":[""]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '2159' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - 6d8c824b-3fd7-4555-b66c-ecc99c7d502f + - 70c7885d-9dbe-4e7c-92f7-ab06da75c54d + - 28525f17-2a54-4d1f-9706-6595b1cfe412 + - 622f268e-a49e-4437-adb6-5205c7c66b2d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy list + Connection: + - keep-alive + ParameterSetName: + - --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1390' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-original-request-ids: + - c8eff070-140f-4507-b406-96eb7de4496a + - 59d68ff2-aeba-4fec-918f-6cdfe94d257a + - 89609ccd-32ee-4d77-8ccc-d3ed882b5113 + - babd3554-a8ef-484f-8201-456e26d71d7f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:35 GMT + etag: + - '"670b2e00-0000-0100-0000-6486cc300000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + mise-correlation-id: + - fc47bda8-cbf4-460a-bc90-5ef215c3e6d7 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:36.7150719Z","endTime":"2023-06-12T07:41:37.1236675Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '677' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:36 GMT + etag: + - '"6f0323f1-0000-0100-0000-6486cc310000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - nf routepolicy delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:36.7150719Z","endTime":"2023-06-12T07:41:37.1236675Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '677' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Jun 2023 07:41:37 GMT + etag: + - '"6f0323f1-0000-0100-0000-6486cc310000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py new file mode 100644 index 00000000000..179e3d18a98 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py @@ -0,0 +1,75 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +from azure.cli.testsdk.scenario_tests import AllowLargeResponse + +""" +Device tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_update(test, checks=[]) + cleanup_scenario1(test) + +def step_update(test, checks=None): + '''Device create operation''' + if checks is None: + checks = [] + test.cmd('az nf device update --resource-group {rg} --resource-name {name} ' + ' --serial-number {serial_number}', checks=checks) + +def step_show(test, checks=None): + '''Device show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf device show --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''Device list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf device list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''Device list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf device list') + +class DeviceScenarioTest1(ScenarioTest): + ''' DeviceScenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('NETWORK_DEVICE', 'name'), + 'rg': CONFIG.get('NETWORK_DEVICE', 'resource_group'), + 'host_name': CONFIG.get('NETWORK_DEVICE', 'host_name'), + 'serial_number': CONFIG.get('NETWORK_DEVICE', 'serial_number') + }) + + @AllowLargeResponse() + def test_Device_scenario1(self): + ''' test scenario for Device CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py new file mode 100644 index 00000000000..020dfda3e55 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py @@ -0,0 +1,76 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +External Network tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''externalnetwork create operation''' + if checks is None: + checks = [] + test.cmd('az nf externalnetwork create --resource-group {rg} --l3domain {l3domain} --resource-name {name} --peering-option {peering_option} --option-a-properties {optionAProperties} --option-b-properties {optionBProperties}', checks=checks) + +def step_show(test, checks=None): + '''externalnetwork show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf externalnetwork show --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + +def step_delete(test, checks=None): + '''externalnetwork delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf externalnetwork delete --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''externalnetwork list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf externalnetwork list --resource-group {rg} --l3domain {l3domain}') + +class ExternalNetworkScenarioTest1(ScenarioTest): + ''' External Network Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('External_Network', 'name'), + 'rg': CONFIG.get('External_Network', 'resource_group'), + 'l3domain': CONFIG.get('External_Network', 'l3domain'), + 'peering_option': CONFIG.get('External_Network', 'peering_option'), + 'importRoutePolicyId': CONFIG.get('External_Network', 'import_route_policy_id'), + 'exportRoutePolicyId': CONFIG.get('External_Network', 'export_route_policy_id'), + 'optionBProperties': CONFIG.get('External_Network', 'option_b_properties'), + 'optionAProperties': CONFIG.get('External_Network', 'option_a_properties') + }) + + def test_externalnetwork_scenario1(self): + ''' test scenario for externalnetwork CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py new file mode 100644 index 00000000000..6111993383f --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py @@ -0,0 +1,72 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Interface tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_show(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_update_admin_state_Disable(test, checks=[]) + step_update_admin_state_Enable(test, checks=[]) + cleanup_scenario1(test) + +def step_show(test, checks=None): + '''Interface show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf interface show --resource-name {name} --resource-group {rg} --device {device_name}') + +def step_list_resource_group(test, checks=None): + '''Interface list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf interface list --resource-group {rg} --device {device_name}') + +def step_update_admin_state_Enable(test, checks=None): + '''Interface Update admin state Enable operation''' + if checks is None: + checks = [] + test.cmd('az nf interface update-admin-state --resource-group {rg} --device {device_name} --resource-name {name} --state {state_Enable}') + +def step_update_admin_state_Disable(test, checks=None): + '''Interface Update admin state Disable operation''' + if checks is None: + checks = [] + test.cmd('az nf interface update-admin-state --resource-group {rg} --device {device_name} --resource-name {name} --state {state_Disable}') + +class InterfaceScenarioTest1(ScenarioTest): + ''' InterfaceScenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('NETWORK_INTERFACE', 'name'), + 'rg': CONFIG.get('NETWORK_INTERFACE', 'resource_group'), + 'device_name': CONFIG.get('NETWORK_INTERFACE', 'device_name'), + 'state_Enable': CONFIG.get('NETWORK_INTERFACE', 'state_Enable'), + 'state_Disable': CONFIG.get('NETWORK_INTERFACE', 'state_Disable') + }) + + def test_Interface_scenario1(self): + ''' test scenario for Interface CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py new file mode 100644 index 00000000000..d1f14368b34 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py @@ -0,0 +1,78 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Internal Network tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''internalnetwork create operation''' + if checks is None: + checks = [] + test.cmd('az nf internalnetwork create --resource-group {rg} --l3-isolation-domain-name {l3domain} --resource-name {name} --vlan-id {vlan_id}' + ' --mtu {mtu} --connected-ipv4-subnets {connectedIpv4Subnets} --connected-ipv6-subnets {connectedIpv6Subnets} --static-route-configuration {staticRouteConf} --bgp-configuration {bgpConf} --no-wait', checks=checks) + +def step_show(test, checks=None): + '''internalnetwork show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf internalnetwork show --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + +def step_delete(test, checks=None): + '''internalnetwork delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf internalnetwork delete --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''internalnetwork list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf internalnetwork list --resource-group {rg} --l3domain {l3domain}') + +class InternalNetworkScenarioTest1(ScenarioTest): + ''' Internal Network Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('Internal_Network', 'name'), + 'rg': CONFIG.get('Internal_Network', 'resource_group'), + 'l3domain': CONFIG.get('Internal_Network', 'l3domain'), + 'vlan_id': CONFIG.get('Internal_Network', 'vlan_id'), + 'mtu': CONFIG.get('Internal_Network', 'mtu'), + 'connectedIpv4Subnets': CONFIG.get('Internal_Network', 'connected_Ipv4_subnets'), + 'connectedIpv6Subnets': CONFIG.get('Internal_Network', 'connected_Ipv6_subnets'), + 'staticRouteConf': CONFIG.get('Internal_Network', 'static_route_conf'), + 'bgpConf': CONFIG.get('Internal_Network', 'bgp_conf') + }) + + def test_internalnetwork_scenario1(self): + ''' test scenario for internalnetwork CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py new file mode 100644 index 00000000000..21e490f1cfb --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py @@ -0,0 +1,82 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Ip Community tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''ipcommunity create operation''' + if checks is None: + checks = [] + test.cmd('az nf ipcommunity create --resource-group {rg} --location {location} --resource-name {name} ' + ' --action {action} --well-known-communities {well_known_communities} --community-members {community_members}', checks=checks) + +def step_show(test, checks=None): + '''ipcommunity show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipcommunity show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''ipcommunity delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipcommunity delete --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''ipcommunity list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf ipcommunity list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''ipcommunity list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf ipcommunity list') + +class IpCommunityScenarioTest1(ScenarioTest): + ''' Ip Community Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('IP_COMMUNITY', 'name'), + 'rg': CONFIG.get('IP_COMMUNITY', 'resource_group'), + 'location': CONFIG.get('IP_COMMUNITY', 'location'), + 'action': CONFIG.get('IP_COMMUNITY', 'action'), + 'well_known_communities': CONFIG.get('IP_COMMUNITY', 'well_known_communities'), + 'community_members': CONFIG.get('IP_COMMUNITY', 'community_members') + }) + + def test_ipcommunity_scenario1(self): + ''' test scenario for IpCommunity CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py new file mode 100644 index 00000000000..d872c8bd812 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py @@ -0,0 +1,79 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Ip Extended Community tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''ipextendedcommunity create operation''' + if checks is None: + checks = [] + test.cmd('az nf ipextendedcommunity create --resource-group {rg} --location {location} --resource-name {name}' + ' --action {action} --route-targets {route_targets}', checks=checks) + +def step_show(test, checks=None): + '''ipextendedcommunity show operation''' + if checks is None: + checks = [] + test.cmd('az nf ipextendedcommunity show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''ipextendedcommunity delete operation''' + if checks is None: + checks = [] + test.cmd('az nf ipextendedcommunity delete --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''ipextendedcommunity list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf ipextendedcommunity list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''ipextendedcommunity list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf ipextendedcommunity list') + +class IpExtendedCommunityScenarioTest1(ScenarioTest): + ''' Ip Extended Community Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('IP_EXTENDED_COMMUNITY', 'name'), + 'rg': CONFIG.get('IP_EXTENDED_COMMUNITY', 'resource_group'), + 'location': CONFIG.get('IP_EXTENDED_COMMUNITY', 'location'), + 'action': CONFIG.get('IP_EXTENDED_COMMUNITY', 'action'), + 'route_targets': CONFIG.get('IP_EXTENDED_COMMUNITY', 'route_targets') + }) + + def test_ipextendedcommunity_scenario1(self): + ''' test scenario for IpExtendedCommunity CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py new file mode 100644 index 00000000000..c088de82ac2 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py @@ -0,0 +1,82 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Ip Prefix tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''ipprefix create operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipprefix create --resource-group {rg} --location {location} --resource-name {name} --ip-prefix-rules {ipPrefixRules} ', checks=checks) + +def step_show(test, checks=None): + '''ipprefix show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipprefix show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''ipprefix delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipprefix delete --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''ipprefix list by resource group operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipprefix list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''ipprefix list by subscription operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf ipprefix list') + +class IpPrefixScenarioTest1(ScenarioTest): + ''' IpPrefix Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('IP_PREFIX', 'name'), + 'rg': CONFIG.get('IP_PREFIX', 'resource_group'), + 'location': CONFIG.get('IP_PREFIX', 'location'), + 'ipPrefixRules': CONFIG.get('IP_PREFIX', 'ip_prefix_rules') + }) + + def test_ipprefix_scenario1(self): + ''' test scenario for IpPrefix CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py new file mode 100644 index 00000000000..7c2167fd463 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py @@ -0,0 +1,97 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +L2 Domain tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_update_admin_state_Enable(test, checks=[]) + step_update_admin_state_Disable(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''l2domain create operation''' + if checks is None: + checks = [] + test.cmd('az nf l2domain create --resource-group {rg} --resource-name {name} --location {location} --nf-id {nf_id} --vlan-id {vlan_id}', checks=checks) + +def step_show(test, checks=None): + '''l2domain show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf l2domain show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''l2domain delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf l2domain delete --resource-name {name} --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''l2domain list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf l2domain list') + +def step_list_resource_group(test, checks=None): + '''l2domain list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf l2domain list --resource-group {rg}') + +def step_update_admin_state_Enable(test, checks=None): + '''l2domain Update admin state operation''' + if checks is None: + checks = [] + test.cmd('az nf l2domain update-admin-state --resource-group {rg} --resource-name {name} --state {state_Enable} --no-wait') + +def step_update_admin_state_Disable(test, checks=None): + '''l2domain Update admin state operation''' + if checks is None: + checks = [] + test.cmd('az nf l2domain update-admin-state --resource-group {rg} --resource-name {name} --state {state_Disable} --no-wait') + +class L2DomainScenarioTest1(ScenarioTest): + ''' L2 Domain Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('L2_ISOLATION_DOMAIN', 'name'), + 'rg': CONFIG.get('L2_ISOLATION_DOMAIN', 'resource_group'), + 'location': CONFIG.get('L2_ISOLATION_DOMAIN', 'location'), + 'nf_id': CONFIG.get('L2_ISOLATION_DOMAIN', 'nf_id'), + 'mtu': CONFIG.get('L2_ISOLATION_DOMAIN', 'mtu'), + 'vlan_id': CONFIG.get('L2_ISOLATION_DOMAIN', 'vlan_id'), + 'state_Enable': CONFIG.get('L2_ISOLATION_DOMAIN', 'state_Enable'), + 'state_Disable': CONFIG.get('L2_ISOLATION_DOMAIN', 'state_Disable') + }) + + def test_l2domain_scenario1(self): + ''' test scenario for L2 Domain CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py new file mode 100644 index 00000000000..70eea1f78f4 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py @@ -0,0 +1,118 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +L3 Domain tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def setup_scenario2(test): + ''' Env setup_scenario2 ''' + pass + +def cleanup_scenario2(test): + '''Env cleanup_scenario2 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def call_scenario2(test): + ''' # Testcase: scenario2''' + step_update_admin_state_Enable(test, checks=[]) + step_update_admin_state_Disable(test, checks=[]) + cleanup_scenario2(test) + +def step_create(test, checks=None): + '''l3domain create operation''' + if checks is None: + checks = [] + test.cmd('az nf l3domain create --resource-group {rg} --resource-name {name} --location {location} --nf-id {nf_id}' + ' --redistribute-connected-subnets {redistributeConnectedSubnets} --redistribute-static-routes {redistributeStaticRoutes} ' + ' --aggregate-route-configuration {aggregateRouteConf} --connected-subnet-route-policy {connectedSubnetRoutePolicy}', checks=checks) + +def step_show(test, checks=None): + '''l3domain show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf l3domain show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''l3domain delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf l3domain delete --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''l3domain list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf l3domain list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''l3domain list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf l3domain list') + +def step_update_admin_state_Enable(test, checks=None): + '''l3domain Update admin state operation''' + if checks is None: + checks = [] + test.cmd('az nf l3domain update-admin-state --resource-group {rg} --resource-name {resource_name} --state {state_Enable} --no-wait') + +def step_update_admin_state_Disable(test, checks=None): + '''l3domain Update admin state operation''' + if checks is None: + checks = [] + test.cmd('az nf l3domain update-admin-state --resource-group {rg} --resource-name {resource_name} --state {state_Disable} --no-wait') + +class L3DomainScenarioTest1(ScenarioTest): + ''' L3 Domain Scenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('L3_ISOLATION_DOMAIN', 'name'), + 'rg': CONFIG.get('L3_ISOLATION_DOMAIN', 'resource_group'), + 'location': CONFIG.get('L3_ISOLATION_DOMAIN', 'location'), + 'nf_id': CONFIG.get('L3_ISOLATION_DOMAIN', 'nf_id'), + 'redistributeConnectedSubnets': CONFIG.get('L3_ISOLATION_DOMAIN', 'redistribute_connected_subnets'), + 'redistributeStaticRoutes': CONFIG.get('L3_ISOLATION_DOMAIN', 'redistribute_static_routes'), + 'connectedSubnetRoutePolicy': CONFIG.get('L3_ISOLATION_DOMAIN', 'connected_subnet_route_policy'), + 'aggregateRouteConf': CONFIG.get('L3_ISOLATION_DOMAIN', 'aggregate_route_conf'), + 'state_Enable': CONFIG.get('L3_ISOLATION_DOMAIN', 'state_Enable'), + 'state_Disable': CONFIG.get('L3_ISOLATION_DOMAIN', 'state_Disable'), + 'resource_name': CONFIG.get('L3_ISOLATION_DOMAIN', 'resource_name') + }) + + def test_l3domain_scenario1(self): + ''' test scenario for L3 Domain CRUD operations''' + call_scenario1(self) + + def test_l3domain_scenario2(self): + ''' test scenario for L3 Domain CRUD operations''' + call_scenario2(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_managednetworkfabric.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_managednetworkfabric.py new file mode 100644 index 00000000000..5fac61a85f4 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_managednetworkfabric.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import * + + +class ManagednetworkfabricScenario(ScenarioTest): + # TODO: add tests here + pass diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py new file mode 100644 index 00000000000..9e64f7675aa --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py @@ -0,0 +1,123 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +NF tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def setup_scenario2(test): + ''' Env setup_scenario2 ''' + pass + +def cleanup_scenario2(test): + '''Env cleanup_scenario2 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def call_scenario2(test): + ''' # Testcase: scenario2''' + setup_scenario2(test) + step_provision(test) + step_deprovision(test) + cleanup_scenario2(test) + +def step_create(test, checks=None): + '''nf create operation''' + if checks is None: + checks = [] + test.cmd('az nf fabric create --resource-group {rg} --location {location} --resource-name {name} --nf-sku {nf_sku} --nfc-id {nfc_id}' + ' --fabric-asn {fabric_asn} --ipv4-prefix {ipv4_prefix} --ipv6-prefix {ipv6_prefix} --rack-count {rack_count} --server-count-per-rack {server_count_per_rack}' + ' --ts-config {terminalServerConf} --managed-network-config {managedNetworkConf}', checks=checks) + +def step_show(test, checks=None): + '''nf show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf fabric show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''nf delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf fabric delete --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''nf list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf fabric list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''nf list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf fabric list') + +def step_provision(test, checks=None): + '''nf provision operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf fabric provision --resource-name {resource_name} --resource-group {rg}') + +def step_deprovision(test, checks=None): + '''nf deprovision operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf fabric deprovision --resource-name {resource_name} --resource-group {rg}') + +class NFScenarioTest1(ScenarioTest): + ''' NFScenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('NETWORK_FABRIC', 'name'), + 'rg': CONFIG.get('NETWORK_FABRIC', 'resource_group'), + 'location': CONFIG.get('NETWORK_FABRIC', 'location'), + 'nf_sku': CONFIG.get('NETWORK_FABRIC', 'nf_sku'), + 'nfc_id': CONFIG.get('NETWORK_FABRIC', 'nfc_id'), + 'fabric_asn': CONFIG.get('NETWORK_FABRIC', 'fabric_asn'), + 'ipv4_prefix': CONFIG.get('NETWORK_FABRIC', 'ipv4_prefix'), + 'ipv6_prefix': CONFIG.get('NETWORK_FABRIC', 'ipv6_prefix'), + 'rack_count': CONFIG.get('NETWORK_FABRIC', 'rack_count'), + 'server_count_per_rack': CONFIG.get('NETWORK_FABRIC', 'server_count_per_rack'), + 'terminalServerConf': CONFIG.get('NETWORK_FABRIC', 'terminalServerConf'), + 'managedNetworkConf': CONFIG.get('NETWORK_FABRIC', 'managedNetworkConf'), + 'resource_name': CONFIG.get('NETWORK_FABRIC', 'resource_name') + }) + + def test_nf_scenario1(self): + ''' test scenario for NF CRUD operations''' + call_scenario1(self) + + def test_nf_scenario2(self): + ''' test scenario for NF Provision/Deprovision operations''' + call_scenario2(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py new file mode 100644 index 00000000000..121c25e360a --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py @@ -0,0 +1,103 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +NFC tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def setup_scenario2(test): + ''' Env setup_scenario2 ''' + pass + +def cleanup_scenario2(test): + '''Env cleanup_scenario2 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + # skip testing delete until the Network Fabric Controller can be deleted without being created + # Instead we will delete in scenario 2 + # step_delete(test, checks=[]) + cleanup_scenario1(test) + +def call_scenario2(test): + setup_scenario2(test) + step_delete(test, checks=[]) + cleanup_scenario2(test) + +def step_create(test, checks=None): + '''nfc create operation''' + if checks is None: + checks = [] + test.cmd('az nf controller create --resource-group {rg} --location {location} --resource-name {name}' + ' --infra-er-connections {infraERConnections} --workload-er-connections {workloadERConnections}' + ' --ipv4-address-space {ipv4AddressSpace} --no-wait' , checks=checks) + +def step_show(test, checks=None): + '''nfc show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf controller show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''nfc delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf controller delete --resource-name {nameDelete} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''nfc list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf controller list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''nfc list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf controller list') + +class NFCScenarioTest1(ScenarioTest): + ''' NFCScenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'name'), + 'nameDelete': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'nameDelete'), + 'rg': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'resource_group'), + 'location': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'location'), + 'infraERConnections': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'infra_ER_Connections'), + 'workloadERConnections': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'workload_ER_Connections'), + 'ipv4AddressSpace': CONFIG.get('NETWORK_FABRIC_CONTROLLER', 'ipv4_address_space') + }) + + def test_nfc_scenario1(self): + ''' test scenario for NFC CRUD operations''' + call_scenario1(self) + + def test_nfc_scenario2(self): + ''' test scenario for NFC CRUD operations''' + call_scenario2(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py new file mode 100644 index 00000000000..37d55879b73 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py @@ -0,0 +1,78 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +NNI tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create(test, checks=[]) + step_show(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def step_create(test, checks=None): + '''nni create operation''' + if checks is None: + checks = [] + test.cmd('az nf nni create --resource-group {rg} --resource-name {name} --fabric {fabric}' + ' --is-management-type {isManagementType} --use-option-b {useOptionB}' + ' --layer2-configuration {layer2Configuration}' + ' --layer3-configuration {layer3Configuration}', checks=checks) + +def step_show(test, checks=None): + '''nni show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf nni show --resource-name {name} --resource-group {rg} --fabric {fabric}') + +def step_delete(test, checks=None): + '''nni delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf nni delete --resource-name {name} --resource-group {rg} --fabric {fabric}') + +def step_list_resource_group(test, checks=None): + '''nni list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf nni list --resource-group {rg} --fabric {fabric}') + +class NNIScenarioTest1(ScenarioTest): + ''' NNIScenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'name'), + 'rg': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'resource_group'), + 'fabric': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'fabric'), + 'isManagementType': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'is_management_type'), + 'useOptionB': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'use_option_b'), + 'layer2Configuration': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'layer2_Configuration'), + 'layer3Configuration': CONFIG.get('NETWORK_TO_NETWORK_INTERCONNECT', 'layer3_Configuration') + }) + + def test_nni_scenario1(self): + ''' test scenario for NNI CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py new file mode 100644 index 00000000000..d36282641a7 --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py @@ -0,0 +1,63 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Rack tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_show(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_list_subscription(test, checks=[]) + cleanup_scenario1(test) + +def step_show(test, checks=None): + '''Rack show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf rack show --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''Rack list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf rack list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''Rack list by subscription''' + if checks is None: + checks = [] + test.cmd('az nf rack list') + +class RackScenarioTest1(ScenarioTest): + ''' RackScenario test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('NETWORK_RACK', 'name'), + 'rg': CONFIG.get('NETWORK_RACK', 'resource_group') + }) + + #@ResourceGroupPreparer(name_prefix='cli_test_rack_rg_', key='rg', parameter_name='rg', location="westus3") + def test_Rack_scenario1(self): + ''' test scenario for Rack CRUD operations''' + call_scenario1(self) \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py new file mode 100644 index 00000000000..cfc1669815e --- /dev/null +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py @@ -0,0 +1,108 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# -------------------------------------------------------------------------------------------- +# pylint: disable=too-few-public-methods,unnecessary-pass,unused-argument + +""" +Route Policy tests scenarios +""" + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer +from .config import CONFIG + +def setup_scenario1(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario1(test): + '''Env cleanup_scenario1 ''' + pass + +def setup_scenario2(test): + ''' Env setup_scenario1 ''' + pass + +def cleanup_scenario2(test): + '''Env cleanup_scenario1 ''' + pass + +def call_scenario1(test): + ''' # Testcase: scenario1''' + setup_scenario1(test) + step_create_s1(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario1(test) + +def call_scenario2(test): + ''' # Testcase: scenario1''' + setup_scenario2(test) + step_create_s2(test, checks=[]) + step_show(test, checks=[]) + step_list_subscription(test, checks=[]) + step_list_resource_group(test, checks=[]) + step_delete(test, checks=[]) + cleanup_scenario2(test) + +def step_create_s1(test, checks=None): + '''routepolicy create operation with IpCommunities''' + if checks is None: + checks = [] + test.cmd('az nf routepolicy create --resource-group {rg} --resource-name {name} --location {location} --statements {statements_with_ipcommunity}', checks=checks) + +def step_create_s2(test, checks=None): + '''routepolicy create operation with IpExtendedCommunities''' + if checks is None: + checks = [] + test.cmd('az nf routepolicy create --resource-group {rg} --resource-name {name} --location {location} --statements {statements_with_ipextcommunity}', checks=checks) + +def step_show(test, checks=None): + '''routepolicy show operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf routepolicy show --resource-name {name} --resource-group {rg}') + +def step_delete(test, checks=None): + '''routepolicy delete operation''' + if checks is None: + checks = [] + test.cmd( + 'az nf routepolicy delete --resource-name {name} --resource-group {rg}') + +def step_list_resource_group(test, checks=None): + '''routepolicy list by resource group operation''' + if checks is None: + checks = [] + test.cmd('az nf routepolicy list --resource-group {rg}') + +def step_list_subscription(test, checks=None): + '''routepolicy list by subscription operation''' + if checks is None: + checks = [] + test.cmd('az nf routepolicy list') + +class RoutePolicyScenarioTest1(ScenarioTest): + ''' Route Policy Scenario1 test''' + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.kwargs.update({ + 'name': CONFIG.get('ROUTE_POLICY', 'name'), + 'rg': CONFIG.get('ROUTE_POLICY', 'resource_group'), + 'location': CONFIG.get('ROUTE_POLICY', 'location'), + 'statements_with_ipcommunity': CONFIG.get('ROUTE_POLICY', 'statements_with_ipcommunity'), + 'statements_with_ipextcommunity': CONFIG.get('ROUTE_POLICY', 'statements_with_ipextcommunity') + }) + + def test_route_policy_scenario1(self): + ''' test scenario for Route Policy CRUD operations''' + call_scenario1(self) + + def test_route_policy_scenario2(self): + ''' test scenario for Route Policy CRUD operations''' + call_scenario2(self) diff --git a/src/managednetworkfabric/setup.cfg b/src/managednetworkfabric/setup.cfg new file mode 100644 index 00000000000..2fdd96e5d39 --- /dev/null +++ b/src/managednetworkfabric/setup.cfg @@ -0,0 +1 @@ +#setup.cfg \ No newline at end of file diff --git a/src/managednetworkfabric/setup.py b/src/managednetworkfabric/setup.py new file mode 100644 index 00000000000..3945d751e13 --- /dev/null +++ b/src/managednetworkfabric/setup.py @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +from codecs import open +from setuptools import setup, find_packages + + +# HISTORY.rst entry. +VERSION = '2.0.0' + +# The full list of classifiers is available at +# https://pypi.python.org/pypi?%3Aaction=list_classifiers +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [] + +with open('README.md', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='managednetworkfabric', + version=VERSION, + description='Support for managednetworkfabric commands based on 2023-02-01-preview API version.', + long_description=README + '\n\n' + HISTORY, + license='MIT', + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions/tree/main/src/managednetworkfabric', + classifiers=CLASSIFIERS, + packages=find_packages(exclude=["tests"]), + package_data={'azext_managednetworkfabric': ['azext_metadata.json']}, + install_requires=DEPENDENCIES +) diff --git a/src/service_name.json b/src/service_name.json index 926a45a2566..61e04240caf 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -399,6 +399,11 @@ "AzureServiceName": "Azure CLI", "URL": "" }, + { + "Command": "az nf", + "AzureServiceName": "Managed Network Fabric", + "URL": "" + }, { "Command": "az notification-hub", "AzureServiceName": "Azure Notification Hubs", From f121fd85bd97e2c4be9ca4499824db282a390b11 Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Mon, 12 Jun 2023 20:36:44 +0530 Subject: [PATCH 2/8] update code owners --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7b8a3f293d4..28cf9a25178 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -92,6 +92,8 @@ /src/maintenance/ @gautamd-ms +/src/managednetworkfabric/ @rahulm-msft + /src/ai-examples/ @mirdaki /src/notification-hub/ @fengzhou-msft From a8fca29eb48a6e258ce73b435a2494074e539ff0 Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Mon, 12 Jun 2023 20:46:50 +0530 Subject: [PATCH 3/8] update linter_exclusion --- linter_exclusions.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/linter_exclusions.yml b/linter_exclusions.yml index 13157ecd3be..857bb938357 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -2009,6 +2009,11 @@ network vwan update: security_provider_name: rule_exclusions: - option_length_too_long +nf controller create: + parameters: + workload_er_connections: + rule_exclusions: + - option_length_too_long nf rack create: rule_exclusions: - missing_command_test_coverage @@ -2021,6 +2026,25 @@ nf device delete: nf interface delete: rule_exclusions: - missing_command_test_coverage +nf l3domain create: + parameters: + aggregate_route_configuration: + rule_exclusions: + - option_length_too_long + connected_subnet_route_policy: + rule_exclusions: + - option_length_too_long + redistribute_connected_subnets: + rule_exclusions: + - option_length_too_long + redistribute_static_routes: + rule_exclusions: + - option_length_too_long +nf internalnetwork create: + parameters: + static_route_configuration: + rule_exclusions: + - option_length_too_long notification-hub authorization-rule create: parameters: notification_hub_name: From a909f99154bfe7c5830f4223c3de2f2e2285f8b3 Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Wed, 14 Jun 2023 19:35:03 +0530 Subject: [PATCH 4/8] Addressed review comments --- src/managednetworkfabric/HISTORY.rst | 2 +- .../{nf => networkfabric}/__cmd_group.py | 2 +- .../latest/{nf => networkfabric}/__init__.py | 0 .../{nf => networkfabric}/acl/__cmd_group.py | 2 +- .../{nf => networkfabric}/acl/__init__.py | 0 .../{nf => networkfabric}/acl/_create.py | 6 +- .../{nf => networkfabric}/acl/_delete.py | 4 +- .../latest/{nf => networkfabric}/acl/_list.py | 4 +- .../latest/{nf => networkfabric}/acl/_show.py | 4 +- .../controller/__cmd_group.py | 2 +- .../controller/__init__.py | 0 .../controller/_create.py | 6 +- .../controller/_delete.py | 4 +- .../{nf => networkfabric}/controller/_list.py | 8 +- .../{nf => networkfabric}/controller/_show.py | 4 +- .../{nf => networkfabric}/controller/_wait.py | 2 +- .../device/__cmd_group.py | 2 +- .../{nf => networkfabric}/device/__init__.py | 0 .../{nf => networkfabric}/device/_delete.py | 4 +- .../{nf => networkfabric}/device/_list.py | 6 +- .../{nf => networkfabric}/device/_show.py | 4 +- .../{nf => networkfabric}/device/_update.py | 4 +- .../{nf => networkfabric}/device/_wait.py | 2 +- .../devicesku/__cmd_group.py | 2 +- .../devicesku/__init__.py | 0 .../{nf => networkfabric}/devicesku/_list.py | 4 +- .../{nf => networkfabric}/devicesku/_show.py | 2 +- .../externalnetwork/__cmd_group.py | 2 +- .../externalnetwork/__init__.py | 0 .../externalnetwork/_create.py | 8 +- .../externalnetwork/_delete.py | 4 +- .../externalnetwork/_list.py | 4 +- .../externalnetwork/_show.py | 4 +- .../externalnetwork/_update_admin_state.py | 4 +- .../externalnetwork/_wait.py | 2 +- .../fabric/__cmd_group.py | 2 +- .../{nf => networkfabric}/fabric/__init__.py | 0 .../{nf => networkfabric}/fabric/_create.py | 12 +- .../{nf => networkfabric}/fabric/_delete.py | 4 +- .../fabric/_deprovision.py | 4 +- .../{nf => networkfabric}/fabric/_list.py | 6 +- .../fabric/_provision.py | 4 +- .../{nf => networkfabric}/fabric/_show.py | 4 +- .../{nf => networkfabric}/fabric/_wait.py | 2 +- .../fabricsku/__cmd_group.py | 2 +- .../fabricsku/__init__.py | 0 .../{nf => networkfabric}/fabricsku/_list.py | 4 +- .../{nf => networkfabric}/fabricsku/_show.py | 2 +- .../interface/__cmd_group.py | 2 +- .../interface/__init__.py | 0 .../interface/_delete.py | 4 +- .../{nf => networkfabric}/interface/_list.py | 4 +- .../{nf => networkfabric}/interface/_show.py | 4 +- .../interface/_update_admin_state.py | 4 +- .../{nf => networkfabric}/interface/_wait.py | 2 +- .../internalnetwork/__cmd_group.py | 2 +- .../internalnetwork/__init__.py | 0 .../internalnetwork/_create.py | 8 +- .../internalnetwork/_delete.py | 4 +- .../internalnetwork/_list.py | 4 +- .../internalnetwork/_show.py | 4 +- .../internalnetwork/_update_admin_state.py | 4 +- .../internalnetwork/_wait.py | 2 +- .../ipcommunity/__cmd_group.py | 2 +- .../ipcommunity/__init__.py | 0 .../ipcommunity/_create.py | 4 +- .../ipcommunity/_delete.py | 4 +- .../ipcommunity/_list.py | 6 +- .../ipcommunity/_show.py | 4 +- .../ipcommunity/_wait.py | 2 +- .../ipextendedcommunity/__cmd_group.py | 2 +- .../ipextendedcommunity/__init__.py | 0 .../ipextendedcommunity/_create.py | 4 +- .../ipextendedcommunity/_delete.py | 4 +- .../ipextendedcommunity/_list.py | 6 +- .../ipextendedcommunity/_show.py | 4 +- .../ipextendedcommunity/_wait.py | 2 +- .../ipprefix/__cmd_group.py | 2 +- .../ipprefix/__init__.py | 0 .../{nf => networkfabric}/ipprefix/_create.py | 6 +- .../{nf => networkfabric}/ipprefix/_delete.py | 4 +- .../{nf => networkfabric}/ipprefix/_list.py | 6 +- .../{nf => networkfabric}/ipprefix/_show.py | 4 +- .../{nf => networkfabric}/ipprefix/_wait.py | 2 +- .../l2domain/__cmd_group.py | 2 +- .../l2domain/__init__.py | 0 .../{nf => networkfabric}/l2domain/_create.py | 4 +- .../{nf => networkfabric}/l2domain/_delete.py | 4 +- .../{nf => networkfabric}/l2domain/_list.py | 6 +- .../{nf => networkfabric}/l2domain/_show.py | 4 +- .../l2domain/_update_admin_state.py | 4 +- .../{nf => networkfabric}/l2domain/_wait.py | 2 +- .../l3domain/__cmd_group.py | 2 +- .../l3domain/__init__.py | 0 .../{nf => networkfabric}/l3domain/_create.py | 6 +- .../{nf => networkfabric}/l3domain/_delete.py | 4 +- .../{nf => networkfabric}/l3domain/_list.py | 6 +- .../{nf => networkfabric}/l3domain/_show.py | 4 +- .../l3domain/_update_admin_state.py | 4 +- .../{nf => networkfabric}/l3domain/_wait.py | 2 +- .../{nf => networkfabric}/nni/__cmd_group.py | 2 +- .../{nf => networkfabric}/nni/__init__.py | 0 .../{nf => networkfabric}/nni/_create.py | 8 +- .../{nf => networkfabric}/nni/_delete.py | 6 +- .../latest/{nf => networkfabric}/nni/_list.py | 4 +- .../latest/{nf => networkfabric}/nni/_show.py | 6 +- .../latest/{nf => networkfabric}/nni/_wait.py | 4 +- .../{nf => networkfabric}/rack/__cmd_group.py | 2 +- .../{nf => networkfabric}/rack/__init__.py | 0 .../{nf => networkfabric}/rack/_create.py | 4 +- .../{nf => networkfabric}/rack/_delete.py | 4 +- .../{nf => networkfabric}/rack/_list.py | 4 +- .../{nf => networkfabric}/rack/_show.py | 4 +- .../{nf => networkfabric}/rack/_wait.py | 2 +- .../racksku/__cmd_group.py | 2 +- .../{nf => networkfabric}/racksku/__init__.py | 0 .../{nf => networkfabric}/racksku/_list.py | 4 +- .../{nf => networkfabric}/racksku/_show.py | 2 +- .../routepolicy/__cmd_group.py | 2 +- .../routepolicy/__init__.py | 0 .../routepolicy/_create.py | 12 +- .../routepolicy/_delete.py | 4 +- .../routepolicy/_list.py | 6 +- .../routepolicy/_show.py | 4 +- .../routepolicy/_wait.py | 2 +- .../tests/latest/config.ini | 22 +- .../recordings/test_Device_scenario1.yaml | 54 +- .../recordings/test_Interface_scenario1.yaml | 586 ++------ .../recordings/test_Rack_scenario1.yaml | 36 +- .../test_externalnetwork_scenario1.yaml | 480 +------ .../test_internalnetwork_scenario1.yaml | 84 +- .../test_ipcommunity_scenario1.yaml | 64 +- .../test_ipextendedcommunity_scenario1.yaml | 66 +- .../recordings/test_ipprefix_scenario1.yaml | 64 +- .../recordings/test_l2domain_scenario1.yaml | 760 +++++++--- .../recordings/test_l3domain_scenario1.yaml | 1258 ++++++++++++++++- .../recordings/test_l3domain_scenario2.yaml | 20 +- .../latest/recordings/test_nf_scenario1.yaml | 182 +-- .../latest/recordings/test_nf_scenario2.yaml | 76 +- .../latest/recordings/test_nfc_scenario1.yaml | 62 +- .../latest/recordings/test_nfc_scenario2.yaml | 484 +++---- .../latest/recordings/test_nni_scenario1.yaml | 32 +- .../test_route_policy_scenario1.yaml | 202 ++- .../test_route_policy_scenario2.yaml | 162 ++- .../tests/latest/test_device.py | 8 +- .../tests/latest/test_externalnetwork.py | 8 +- .../tests/latest/test_interface.py | 8 +- .../tests/latest/test_internalnetwork.py | 8 +- .../tests/latest/test_ipcommunity.py | 10 +- .../tests/latest/test_ipextendedcommunity.py | 10 +- .../tests/latest/test_ipprefix.py | 10 +- .../tests/latest/test_l2domain.py | 14 +- .../tests/latest/test_l3domain.py | 14 +- .../tests/latest/test_nf.py | 14 +- .../tests/latest/test_nfc.py | 10 +- .../tests/latest/test_nni.py | 8 +- .../tests/latest/test_rack.py | 6 +- .../tests/latest/test_routepolicy.py | 12 +- src/managednetworkfabric/setup.py | 2 +- 159 files changed, 3005 insertions(+), 2243 deletions(-) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/__cmd_group.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/acl/__cmd_group.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/acl/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/acl/_create.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/acl/_delete.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/acl/_list.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/acl/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/_create.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/controller/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/_update.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/device/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/devicesku/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/devicesku/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/devicesku/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/devicesku/_show.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/__cmd_group.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/_create.py (93%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/_delete.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/_update_admin_state.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/externalnetwork/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_create.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_deprovision.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_list.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_provision.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_show.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabric/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabricsku/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabricsku/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabricsku/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/fabricsku/_show.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/_show.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/_update_admin_state.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/interface/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/__cmd_group.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/_create.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/_delete.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/_list.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/_update_admin_state.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/internalnetwork/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/__cmd_group.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/_create.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipcommunity/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/__cmd_group.py (93%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/_create.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/_delete.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/_show.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipextendedcommunity/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/_create.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/ipprefix/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/_create.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/_update_admin_state.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l2domain/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/_create.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/_list.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/_update_admin_state.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/l3domain/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/__cmd_group.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/_create.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/_delete.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/_show.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/nni/_wait.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/_create.py (96%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/_list.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/rack/_wait.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/racksku/__cmd_group.py (95%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/racksku/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/racksku/_list.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/racksku/_show.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/__cmd_group.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/__init__.py (100%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/_create.py (94%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/_delete.py (97%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/_list.py (99%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/_show.py (98%) rename src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/{nf => networkfabric}/routepolicy/_wait.py (99%) diff --git a/src/managednetworkfabric/HISTORY.rst b/src/managednetworkfabric/HISTORY.rst index 8c34bccfff8..abbff5a61a7 100644 --- a/src/managednetworkfabric/HISTORY.rst +++ b/src/managednetworkfabric/HISTORY.rst @@ -3,6 +3,6 @@ Release History =============== -0.1.0 +1.0.0b1 ++++++ * Initial release. \ No newline at end of file diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/__cmd_group.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/__cmd_group.py index 2b4bdafb96d..d8432a8994d 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf", + "networkfabric", ) class __CMDGroup(AAZCommandGroup): """Manage Azure Network Fabric Management Service API diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/__cmd_group.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/__cmd_group.py index ce814f84ec1..ec881b4c5a8 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf acl", + "networkfabric acl", ) class __CMDGroup(AAZCommandGroup): """Manage Access Control List Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_create.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_create.py index 3e0ebf9bb77..9fbbf0e57fb 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_create.py @@ -12,16 +12,16 @@ @register_command( - "nf acl create", + "networkfabric acl create", ) class Create(AAZCommand): """Create a Access Control List resource :example: Creates a Access Control List resource. - az nf acl create --resource-group "example-rg" --location "westus3" --resource-name "example-accesscontrollist" --address-family "ipv4" --conditions '[{"sequenceNumber": 123, "action": "allow", "destinationAddress": "1.1.10.10", "destinationPort": "1254", "sourceAddress": "1.1.1.0/24", "sourcePort": "1276", "protocol": "255", "annotation": "asdf"}]' + az networkfabric acl create --resource-group "example-rg" --location "westus3" --resource-name "example-accesscontrollist" --address-family "ipv4" --conditions "[{sequenceNumber:123,action:allow,destinationAddress:'1.1.10.10',destinationPort:1254,sourceAddress:'1.1.1.0/24',sourcePort:1276,protocol:255,annotation:asdf}]" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf acl create --conditions '??' + az networkfabric acl create --conditions ?? """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_delete.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_delete.py index eff0b442550..b53b431fe14 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf acl delete", + "networkfabric acl delete", ) class Delete(AAZCommand): """Delete the Access Control List resource :example: Delete a Access Control List resource - az nf acl delete --resource-group "example-rg" --resource-name "example-acl" + az networkfabric acl delete --resource-group "example-rg" --resource-name "example-acl" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_list.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_list.py index 62a8b258ba3..fe449f0e53e 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf acl list", + "networkfabric acl list", ) class List(AAZCommand): """List all Access Control Lists in the provided resource group or subscription :example: List all Access Control Lists - az nf acl list --resource-group "example-rg" + az networkfabric acl list --resource-group "example-rg" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_show.py index 72495b824e8..3a8271f8235 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/acl/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf acl show", + "networkfabric acl show", ) class Show(AAZCommand): """Show details of the provided Access Control List resource :example: Show the Access Control List resource - az nf acl show --resource-group "example-rg" --resource-name "example-acl" + az networkfabric acl show --resource-group "example-rg" --resource-name "example-acl" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/__cmd_group.py index 6a7aa52941c..82612e70310 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf controller", + "networkfabric controller", ) class __CMDGroup(AAZCommandGroup): """Manage Network Fabric Controller Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_create.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_create.py index 469eb417812..43a7b523f7e 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_create.py @@ -12,16 +12,16 @@ @register_command( - "nf controller create", + "networkfabric controller create", ) class Create(AAZCommand): """Create a Network Fabric Controller resource. :example: Create a Network Fabric Controller. For RE-PUT with 'mrg' parameter, both name and location properties are required. - az nf controller create --resource-group "example-rg" --location "westus3" --resource-name "example-nfc" --ipv4-address-space "10.0.0.0/19" --infra-er-connections '[{"expressRouteCircuitId":"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}, {"expressRouteCircuitId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}]' --workload-er-connections '[{"expressRouteCircuitId":"/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}, {"expressRouteCircuitId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit", "expressRouteAuthorizationKey":""}]' --mrg name=example-mrgName location=eastus + az networkfabric controller create --resource-group "example-rg" --location "westus3" --resource-name "example-nfc" --ipv4-address-space "10.0.0.0/19" --infra-er-connections "[{expressRouteCircuitId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit',expressRouteAuthorizationKey:'auth-key'},{expressRouteCircuitId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit',expressRouteAuthorizationKey:'auth-key'}]" --workload-er-connections "[{expressRouteCircuitId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit',expressRouteAuthorizationKey:'auth-key'},{expressRouteCircuitId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-expressRouteCircuit',expressRouteAuthorizationKey:'auth-key'}]" --mrg name=example-mrgName location=eastus :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf controller create --infra-er-connections '??' + az networkfabric controller create --infra-er-connections ?? """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_delete.py index 5e11929b7a7..da4bb5f5cd0 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf controller delete", + "networkfabric controller delete", ) class Delete(AAZCommand): """Delete the Network Fabric Controller resource. :example: Delete the Network Fabric Controller - az nf controller delete --resource-group "example-rg" --resource-name "example-nfc" + az networkfabric controller delete --resource-group "example-rg" --resource-name "example-nfc" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_list.py index f5c9d24b807..c10fb6f53a9 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_list.py @@ -12,17 +12,17 @@ @register_command( - "nf controller list", + "networkfabric controller list", ) class List(AAZCommand): """List all Network Fabric Controllers in the provided resource group or subscription. :example: List the Network Fabric Controllers for Resource group - az nf controller list --resource-group "example-rg" - az nf controller list -g "example-rg" + az networkfabric controller list --resource-group "example-rg" + az networkfabric controller list -g "example-rg" :example: List the Network Fabric Controllers for Subscription. - az nf controller list --subscription "" + az networkfabric controller list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_show.py index 7ea15299fbc..801fe5085e6 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf controller show", + "networkfabric controller show", ) class Show(AAZCommand): """Show details of the provided Network Fabric Controller resource. :example: Show the Network Fabric Controller - az nf controller show --resource-group "example-rg" --resource-name "example-nfc" + az networkfabric controller show --resource-group "example-rg" --resource-name "example-nfc" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_wait.py index 98a9654943b..e56903fe6d0 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/controller/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/controller/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf controller wait", + "networkfabric controller wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/__cmd_group.py index ade610d2617..21a72accce1 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf device", + "networkfabric device", ) class __CMDGroup(AAZCommandGroup): """Manage Network Device Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_delete.py index 6f8d12fa326..4d242ac3d42 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf device delete", + "networkfabric device delete", ) class Delete(AAZCommand): """Delete the Network Device resource. :example: Delete the Network Device - az nf device delete --resource-group "example-rg" --resource-name "example-device" + az networkfabric device delete --resource-group "example-rg" --resource-name "example-device" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_list.py index 396d81ff2fb..f1547c33df1 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf device list", + "networkfabric device list", ) class List(AAZCommand): """List all Network Devices in the provided resource group or subscription. :example: List the Network Devices for Resource Group - az nf device list --resource-group "example-rg" + az networkfabric device list --resource-group "example-rg" :example: List the Network Devices for Subscription - az nf device list --subscription "" + az networkfabric device list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_show.py index 6f8e6102fa7..eb1e63cf01f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf device show", + "networkfabric device show", ) class Show(AAZCommand): """Show details of the provided Network Device resource. :example: Show the Network Device - az nf device show --resource-group "example-rg" --resource-name "example-device" + az networkfabric device show --resource-group "example-rg" --resource-name "example-device" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_update.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_update.py index e309066a3c6..ac00a1d604b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_update.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_update.py @@ -12,13 +12,13 @@ @register_command( - "nf device update", + "networkfabric device update", ) class Update(AAZCommand): """Update the properties of the provided Network Device resource. :example: Update the Network Device - az nf device update --resource-group "example-rg" --resource-name "example-device" --host-name "AustinNF-AR-CE1" --serial-number "Arista;DCS-7280DR3-24;12.05;JPE21115446" + az networkfabric device update --resource-group "example-rg" --resource-name "example-device" --host-name "AustinNF-AR-CE1" --serial-number "Arista;DCS-7280DR3-24;12.05;JPE21115446" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_wait.py index af08af8f32e..81b174ceca0 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/device/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/device/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf device wait", + "networkfabric device wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/__cmd_group.py index ad9fb68af84..2fb4cb6bac5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf devicesku", + "networkfabric devicesku", ) class __CMDGroup(AAZCommandGroup): """Manage Network Device SKU Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/_list.py index 2595ec612fb..65b43628773 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf devicesku list", + "networkfabric devicesku list", ) class List(AAZCommand): """List all Network Device SKUs in the provided subscription. :example: List the DeviceSKU for Subscription - az nf devicesku list --subscription + az networkfabric devicesku list --subscription """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/_show.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/_show.py index a1fe62aff59..5d15f86e1ea 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/devicesku/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/devicesku/_show.py @@ -12,7 +12,7 @@ @register_command( - "nf devicesku show", + "networkfabric devicesku show", ) class Show(AAZCommand): """Show details of the provided Network Device SKU resource. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/__cmd_group.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/__cmd_group.py index 56d47a385ad..522fa739a50 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf externalnetwork", + "networkfabric externalnetwork", ) class __CMDGroup(AAZCommandGroup): """Manage External Network Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_create.py similarity index 93% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_create.py index 3d453d06b6f..d929cf8c348 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_create.py @@ -12,19 +12,19 @@ @register_command( - "nf externalnetwork create", + "networkfabric externalnetwork create", ) class Create(AAZCommand): """Create a External Network resource :example: Create a External Network with option B properties - az nf externalnetwork create --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionB" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --option-b-properties '{"importRouteTargets": ["65541:2001","65542:2002"], "exportRouteTargets": ["65531:2001","65532:2002"]}' + az networkfabric externalnetwork create --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionB" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --option-b-properties "{importRouteTargets:['65541:2001','65542:2002'],exportRouteTargets:['65531:2001','65532:2002']}" :example: Create a External Network with option A properties - az nf externalnetwork create --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionA" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --option-a-properties '{"peerASN": 65234, "vlanId": 501, "mtu": 1500, "primaryIpv4Prefix": "172.23.1.0/31", "secondaryIpv4Prefix": "172.23.1.2/31"}' + az networkfabric externalnetwork create --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --peering-option "OptionA" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --option-a-properties "{peerASN:65234,vlanId:501,mtu:1500,primaryIpv4Prefix:'172.23.1.0/31',secondaryIpv4Prefix:'172.23.1.2/31'}" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf externalnetwork create --option-a-properties '??' + az networkfabric externalnetwork create --option-a-properties ?? """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_delete.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_delete.py index f131bdeb6f9..01acfcdc8a8 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf externalnetwork delete", + "networkfabric externalnetwork delete", ) class Delete(AAZCommand): """Delete the External Network resource. :example: Delete the External Network - az nf externalnetwork delete --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalnetwork" + az networkfabric externalnetwork delete --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalnetwork" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_list.py index 64f17638cec..8eafb44ccf3 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf externalnetwork list", + "networkfabric externalnetwork list", ) class List(AAZCommand): """List all External Networks in the provided resource group. :example: List the External Network for Resource Group - az nf externalnetwork list --resource-group "example-rg" --l3domain "example-l3domain" + az networkfabric externalnetwork list --resource-group "example-rg" --l3domain "example-l3domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_show.py index 1d1d15b72ca..853c8f71844 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf externalnetwork show", + "networkfabric externalnetwork show", ) class Show(AAZCommand): """Show details of the provided External Network resource. :example: Show the External Network - az nf externalnetwork show --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalnetwork" + az networkfabric externalnetwork show --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalnetwork" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_update_admin_state.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_update_admin_state.py index d62b270e548..9d8b7a02b9b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_update_admin_state.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_update_admin_state.py @@ -12,13 +12,13 @@ @register_command( - "nf externalnetwork update-admin-state", + "networkfabric externalnetwork update-admin-state", ) class UpdateAdminState(AAZCommand): """Update the admin state of the provided External Network resource. :example: Update admin state of External Network - az nf externalnetwork update-admin-state --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --state "Enable" + az networkfabric externalnetwork update-admin-state --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-externalNetwork" --state "Enable" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_wait.py index 342b9733b3b..846d2ff72c9 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/externalnetwork/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/externalnetwork/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf externalnetwork wait", + "networkfabric externalnetwork wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/__cmd_group.py index 56723f99a05..9bb85d1ad2c 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf fabric", + "networkfabric fabric", ) class __CMDGroup(AAZCommandGroup): """Manage Network Fabric Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_create.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_create.py index 1f6ab86f28e..0e57224a62e 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_create.py @@ -12,21 +12,21 @@ @register_command( - "nf fabric create", + "networkfabric fabric create", ) class Create(AAZCommand): """Create a Network Fabric resource. :example: Create a Network Fabric with option B Properties - az nf fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 3 --server-count-per-rack 7 --ts-config '{"primaryIpv4Prefix":"172.31.0.0/30", "secondaryIpv4Prefix":"172.31.0.20/30", "username":"****", "password":"*****", "serialNumber":"1234"}' --managed-network-config '{"infrastructureVpnConfiguration":{"peeringOption": "OptionB", "optionBProperties": {"importRouteTargets": ["65541:2001","65542:2001"], "exportRouteTargets": ["65531","65532"]}}, "workloadVpnConfiguration":{"peeringOption": "OptionB", "optionBProperties": {"importRouteTargets": ["65541:2001","65542:2001"], "exportRouteTargets": ["65531","65532"]}}}' + az networkfabric fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix 10.1.0.0/19 --rack-count 3 --server-count-per-rack 7 --ts-config "{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:'1234'}" --managed-network-config "{infrastructureVpnConfiguration:{peeringOption:OptionB,optionBProperties:{importRouteTargets:['65541:2001','65542:2001'],exportRouteTargets:['65531:1002','65531:1002']}},workloadVpnConfiguration:{peeringOption:OptionB,optionBProperties:{importRouteTargets:['65541:2001','65542:2001'],exportRouteTargets:['65531:1002','65531:1002']}}}" :example: Create a Network Fabric with option A Properties - az nf fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix "10.1.0.0/19" --rack-count 3 --server-count-per-rack 7 --ts-config '{"primaryIpv4Prefix":"172.31.0.0/30", "secondaryIpv4Prefix":"172.31.0.20/30", "username":"****", "password":"*****", "serialNumber":"1234"}' --managed-network-config '{"infrastructureVpnConfiguration":{"peeringOption": "OptionA", "optionAProperties": {"mtu": 1500, "vlanId": 520, "peerASN": 65133, "primaryIpv4Prefix": "172.31.0.0/31", "secondaryIpv4Prefix": "172.31.0.20/31"}}, "workloadVpnConfiguration":{"peeringOption": "OptionA", "optionAProperties": {"mtu": 1500, "vlanId": 520, "peerASN": 65133, "primaryIpv4Prefix": "172.31.0.0/31", "secondaryIpv4Prefix": "172.31.0.20/31"}}}' + az networkfabric fabric create --resource-group "example-rg" --location "westus3" --resource-name "example-fabric" --nf-sku "fab1" --nfc-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-NFC" --fabric-asn 20 --ipv4-prefix "10.1.0.0/19" --rack-count 3 --server-count-per-rack 7 --ts-config "{primaryIpv4Prefix:'172.31.0.0/30',secondaryIpv4Prefix:'172.31.0.20/30',username:'****',password:'*****',serialNumber:1234}" --managed-network-config "{infrastructureVpnConfiguration:{peeringOption:OptionA,optionAProperties:{mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}},workloadVpnConfiguration:{peeringOption:OptionA,optionAProperties:{mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}}}" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf fabric create --ts-config '??' - az nf fabric create --managed-network-config '{'infrastructureVpnConfiguration':'??'' - az nf fabric create --managed-network-config '{'infrastructureVpnConfiguration':{'option-b-properties':'??'' + az networkfabric fabric create --ts-config ?? + az networkfabric fabric create --managed-network-config "{infrastructureVpnConfiguration:??" + az networkfabric fabric create --managed-network-config "{infrastructureVpnConfiguration:{option-b-properties:??" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_delete.py index eea21f54aec..a7016e16619 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf fabric delete", + "networkfabric fabric delete", ) class Delete(AAZCommand): """Delete the Network Fabric resource. :example: Delete the Network Fabric - az nf fabric delete --resource-group "example-rg" --resource-name "example-fabric" + az networkfabric fabric delete --resource-group "example-rg" --resource-name "example-fabric" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_deprovision.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_deprovision.py index 9274c43a59a..eeed40f1263 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_deprovision.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_deprovision.py @@ -12,13 +12,13 @@ @register_command( - "nf fabric deprovision", + "networkfabric fabric deprovision", ) class Deprovision(AAZCommand): """Deprovisions the underlying hardware. :example: Deprovision the Network Fabric - az nf fabric deprovision --resource-group "example-rg" --resource-name "example-fabric" + az networkfabric fabric deprovision --resource-group "example-rg" --resource-name "example-fabric" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_list.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_list.py index c81155bed33..438a39db43f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf fabric list", + "networkfabric fabric list", ) class List(AAZCommand): """List all Network Fabrics in the provided resource group or subscription. :example: List the Network Fabrics for Resource Group - az nf fabric list --resource-group "example-rg" + az networkfabric fabric list --resource-group "example-rg" :example: List the Network Fabrics for Subscription - az nf fabric list --subscription "" + az networkfabric fabric list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_provision.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_provision.py index f24b9c1582d..5201acdeea3 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_provision.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_provision.py @@ -12,13 +12,13 @@ @register_command( - "nf fabric provision", + "networkfabric fabric provision", ) class Provision(AAZCommand): """Provisions the underlying hardware. :example: Provision the Network Fabric - az nf fabric provision --resource-group "example-rg" --resource-name "example-fabric" + az networkfabric fabric provision --resource-group "example-rg" --resource-name "example-fabric" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_show.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_show.py index c5ffd6c39c9..de5970c0d84 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf fabric show", + "networkfabric fabric show", ) class Show(AAZCommand): """Show details of the provided Network Fabric resource. :example: Show the Network Fabric - az nf fabric show --resource-group "example-rg" --resource-name "example-fabric" + az networkfabric fabric show --resource-group "example-rg" --resource-name "example-fabric" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_wait.py index cec21968800..32dc647225b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabric/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabric/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf fabric wait", + "networkfabric fabric wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/__cmd_group.py index c6f010478a1..d8fa0089af2 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf fabricsku", + "networkfabric fabricsku", ) class __CMDGroup(AAZCommandGroup): """Manage Network Fabric SKU Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/_list.py index f31f79baa59..2817932e28c 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf fabricsku list", + "networkfabric fabricsku list", ) class List(AAZCommand): """List all Network Fabric SKUs in the provided subscription. :example: List the FabricSKU for Subscription - az nf fabricsku list --subscription + az networkfabric fabricsku list --subscription """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/_show.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/_show.py index 8a07ce48f6a..cd9e9c94a12 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/fabricsku/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/fabricsku/_show.py @@ -12,7 +12,7 @@ @register_command( - "nf fabricsku show", + "networkfabric fabricsku show", ) class Show(AAZCommand): """Show details of the provided Network Fabric SKU resource. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/__cmd_group.py index c71ce5451e2..a8e50985e3b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf interface", + "networkfabric interface", ) class __CMDGroup(AAZCommandGroup): """Manage Network Interface Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_delete.py index 201b4d31b0c..3706bd665a4 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf interface delete", + "networkfabric interface delete", ) class Delete(AAZCommand): """Delete the Network Interface resource. :example: Delete the Network Interface - az nf interface delete -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" + az networkfabric interface delete -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_list.py index a1f1858c35e..c9058b601b5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf interface list", + "networkfabric interface list", ) class List(AAZCommand): """List all Network Interfaces in the provided resource group. :example: List the Network Interfaces for Resource Group - az nf interface list -g "example-rg" --network-device-name "example-device" + az networkfabric interface list -g "example-rg" --network-device-name "example-device" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_show.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_show.py index 7251d599823..8d12ac81328 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf interface show", + "networkfabric interface show", ) class Show(AAZCommand): """Show details of the provided Network Interface resource. :example: Show the Network Interface - az nf interface show -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" + az networkfabric interface show -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_update_admin_state.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_update_admin_state.py index 79f86986bce..97b2a2092c8 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_update_admin_state.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_update_admin_state.py @@ -12,13 +12,13 @@ @register_command( - "nf interface update-admin-state", + "networkfabric interface update-admin-state", ) class UpdateAdminState(AAZCommand): """Update the admin state of the provided Network Interface resource. :example: Update admin state of Network Interface - az nf interface update-admin-state -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" --state "Enable" + az networkfabric interface update-admin-state -g "example-rg" --network-device-name "example-device" --resource-name "example-interface" --state "Enable" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_wait.py index 88630d44581..f9b186bb091 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/interface/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/interface/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf interface wait", + "networkfabric interface wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/__cmd_group.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/__cmd_group.py index ad23706dfb4..25db67bbd03 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf internalnetwork", + "networkfabric internalnetwork", ) class __CMDGroup(AAZCommandGroup): """Manage Internal Network Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_create.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_create.py index ff3478da78f..3dd6ddfce4e 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_create.py @@ -12,17 +12,17 @@ @register_command( - "nf internalnetwork create", + "networkfabric internalnetwork create", ) class Create(AAZCommand): """Create a Internal Network resource. :example: Create a Internal Network - az nf internalnetwork create --resource-group "example-rg" --l3-isolation-domain-name "example-l3domain" --resource-name "example-internalNetwork" --vlan-id 2600 --mtu 1500 --connected-ipv4-subnets '[{"prefix":"10.0.0.1/21"}, {"prefix":"10.0.0.1/22"}]' --static-route-configuration '{"ipv4Routes":[{"prefix":"10.1.0.0/24", "nextHop":["10.0.0.1","10.0.0.2"]}, {"prefix":"10.1.0.0/24", "nextHop":["10.0.0.1", "10.0.0.2"]}]}' --bgp-configuration '{"defaultRouteOriginate": "True", "allowAS": 2, "allowASOverride": "Enable", "peerASN": 65047, "ipv4ListenRangePrefixes": ["10.1.0.0/28","10.1.0.1/28"], "ipv4NeighborAddress": [{"address": "10.0.0.11"},{"address": "10.0.0.12"}]}' --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" + az networkfabric internalnetwork create --resource-group "example-rg" --l3-isolation-domain-name "example-l3domain" --resource-name "example-internalNetwork" --vlan-id 2600 --mtu 1500 --connected-ipv4-subnets "[{prefix:'10.0.0.1/21'},{prefix:'10.0.0.1/22'}]" --static-route-configuration "{ipv4Routes:[{prefix:'10.1.0.0/24',nextHop:['10.0.0.1','10.0.0.2']},{prefix:'10.1.0.0/24',nextHop:['10.0.0.1','10.0.0.2']}]}" --bgp-configuration "{defaultRouteOriginate:True,allowAS:2,allowASOverride:Enable,peerASN:65047,ipv4ListenRangePrefixes:['10.1.0.0/28','10.1.0.1/28'],ipv4NeighborAddress:[{address:'10.0.0.11'},{address:'10.0.0.12'}]}" --export-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" --import-route-policy-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/microsoft.managednetworkfabric/routePolicies/example-routepolicy" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf internalnetwork create --static-route-configuration '??' - az nf internalnetwork create --static-route-configuration '{'ipv4-routes':'??'' + az networkfabric internalnetwork create --static-route-configuration ?? + az networkfabric internalnetwork create --static-route-configuration "{ipv4-routes:??" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_delete.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_delete.py index 7f9587dc477..f42daa052fe 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf internalnetwork delete", + "networkfabric internalnetwork delete", ) class Delete(AAZCommand): """Delete the Internal Network resource. :example: Delete the Internal Network - az nf internalnetwork delete --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-internalnetwork" + az networkfabric internalnetwork delete --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-internalnetwork" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_list.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_list.py index e31fbda1842..f6e341001a9 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf internalnetwork list", + "networkfabric internalnetwork list", ) class List(AAZCommand): """List all Internal Networks in the provided resource group. :example: List the Internal Networks for Resource Group - az nf internalnetwork list --resource-group "example-rg" --l3domain "example-l3domain" + az networkfabric internalnetwork list --resource-group "example-rg" --l3domain "example-l3domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_show.py index 5ed44845c52..67300f33ba7 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf internalnetwork show", + "networkfabric internalnetwork show", ) class Show(AAZCommand): """Show details of the provided Internal Network resource. :example: Show the Internal Network - az nf internalnetwork show --resource-group "example-rg" --resource-name "example-internalnetwork" --l3domain "example-l3domain" + az networkfabric internalnetwork show --resource-group "example-rg" --resource-name "example-internalnetwork" --l3domain "example-l3domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_update_admin_state.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_update_admin_state.py index 1e608cc2db7..07882eab323 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_update_admin_state.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_update_admin_state.py @@ -12,13 +12,13 @@ @register_command( - "nf internalnetwork update-admin-state", + "networkfabric internalnetwork update-admin-state", ) class UpdateAdminState(AAZCommand): """Update the admin state of the provided Internal Network resource. :example: Update admin state of Internal Network - az nf internalnetwork update-admin-state --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-internalNetwork" --state "Enable" + az networkfabric internalnetwork update-admin-state --resource-group "example-rg" --l3domain "example-l3domain" --resource-name "example-internalNetwork" --state "Enable" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_wait.py index f62668ea75e..157a5b63405 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/internalnetwork/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/internalnetwork/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf internalnetwork wait", + "networkfabric internalnetwork wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/__cmd_group.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/__cmd_group.py index f377184da9e..d10e0a7b81b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf ipcommunity", + "networkfabric ipcommunity", ) class __CMDGroup(AAZCommandGroup): """Manage Ip Community Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_create.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_create.py index 1e8f4a4c368..1df43ed2f82 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_create.py @@ -12,13 +12,13 @@ @register_command( - "nf ipcommunity create", + "networkfabric ipcommunity create", ) class Create(AAZCommand): """Create a Ip Community resource. :example: Create a Ip Community - az nf ipcommunity create --resource-group "example-rg" --location "westus3" --resource-name "example-ipcommunity" --action "Deny" --well-known-communities "LocalAS" "GShut" --community-members "100:200" "101:201" + az networkfabric ipcommunity create --resource-group "example-rg" --location "westus3" --resource-name "example-ipcommunity" --action "Deny" --well-known-communities "LocalAS" "GShut" --community-members "100:200" "101:201" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_delete.py index 82ac07669ab..74e5728f64c 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf ipcommunity delete", + "networkfabric ipcommunity delete", ) class Delete(AAZCommand): """Delete the Ip Community resource. :example: Delete the Ip Community - az nf ipcommunity delete --resource-group "example-rg" --resource-name "example-ipcommunity" + az networkfabric ipcommunity delete --resource-group "example-rg" --resource-name "example-ipcommunity" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_list.py index 55d1ea4e402..fce3604ddd5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf ipcommunity list", + "networkfabric ipcommunity list", ) class List(AAZCommand): """List all Ip Communities in the provided resource group or subscription. :example: List the Ip Communities for Resource Group - az nf ipcommunity list --resource-group "example-rg" + az networkfabric ipcommunity list --resource-group "example-rg" :example: List the Ip Communities for Subscription - az nf ipcommunity list --subscription "" + az networkfabric ipcommunity list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_show.py index 4029653e9fe..901fdf39a87 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf ipcommunity show", + "networkfabric ipcommunity show", ) class Show(AAZCommand): """Show details of the provided Ip Community resource. :example: Show the Ip Community - az nf ipcommunity show --resource-group "example-rg" --resource-name "example-ipcommunity" + az networkfabric ipcommunity show --resource-group "example-rg" --resource-name "example-ipcommunity" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_wait.py index bd3e62fee42..bfd25640ed8 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipcommunity/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipcommunity/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf ipcommunity wait", + "networkfabric ipcommunity wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/__cmd_group.py similarity index 93% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/__cmd_group.py index 3a81b17e273..ebd5b468807 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf ipextendedcommunity", + "networkfabric ipextendedcommunity", ) class __CMDGroup(AAZCommandGroup): """Manage Ip Extended Community Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_create.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_create.py index f9d1ed81e43..51d844609d5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_create.py @@ -12,13 +12,13 @@ @register_command( - "nf ipextendedcommunity create", + "networkfabric ipextendedcommunity create", ) class Create(AAZCommand): """Create a Ip Extended Community resource. :example: Create a Ip Extended Community - az nf ipextendedcommunity create --resource-group "example-rg" --location "westus3" --resource-name "example-ipextendedcommunity" --action "Deny" --route-targets "1024:219" "1001:200" + az networkfabric ipextendedcommunity create --resource-group "example-rg" --location "westus3" --resource-name "example-ipextendedcommunity" --action "Deny" --route-targets "1024:219" "1001:200" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_delete.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_delete.py index b04052797a8..81de3dfa820 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf ipextendedcommunity delete", + "networkfabric ipextendedcommunity delete", ) class Delete(AAZCommand): """Delete the Ip Extended Community resource. :example: Delete the Ip Extended Community - az nf ipextendedcommunity delete --resource-group "example-rg" --resource-name "example-ipextendedcommunity" + az networkfabric ipextendedcommunity delete --resource-group "example-rg" --resource-name "example-ipextendedcommunity" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_list.py index 9fcb04b0131..bb4a8cab654 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf ipextendedcommunity list", + "networkfabric ipextendedcommunity list", ) class List(AAZCommand): """List all Ip Extended Communities in the provided resource group or subscription. :example: List the Ip Extended Communities for Resource Group - az nf ipextendedcommunity list --resource-group "example-rg" + az networkfabric ipextendedcommunity list --resource-group "example-rg" :example: List the Ip Extended Communities for Subscription - az nf ipextendedcommunity list --subscription "" + az networkfabric ipextendedcommunity list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_show.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_show.py index 10fb8861a00..5d53469804f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf ipextendedcommunity show", + "networkfabric ipextendedcommunity show", ) class Show(AAZCommand): """Show details of the provided Ip Extended Community resource. :example: Show the Ip Community - az nf ipextendedcommunity show --resource-group "example-rg" --resource-name "example-ipextendedcommunity" + az networkfabric ipextendedcommunity show --resource-group "example-rg" --resource-name "example-ipextendedcommunity" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_wait.py index 6b522cdb904..d5a38a24527 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipextendedcommunity/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipextendedcommunity/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf ipextendedcommunity wait", + "networkfabric ipextendedcommunity wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/__cmd_group.py index ca9f6c9fb98..4b50c432451 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf ipprefix", + "networkfabric ipprefix", ) class __CMDGroup(AAZCommandGroup): """Manage Ip Prefix Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_create.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_create.py index 2872bbcfc17..64700557bc5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_create.py @@ -12,16 +12,16 @@ @register_command( - "nf ipprefix create", + "networkfabric ipprefix create", ) class Create(AAZCommand): """Create a Ip Prefix resource. :example: Create a Ip Prefix - az nf ipprefix create --resource-group "example-rg" --location "westus3" --resource-name "example-ipprefix" --ip-prefix-rules '[{"action": "Permit", "sequenceNumber": 1234, "networkPrefix": "1.1.1.0/24", "condition": "EqualTo", "subnetMaskLength": 10}]' + az networkfabric ipprefix create --resource-group "example-rg" --location "westus3" --resource-name "example-ipprefix" --ip-prefix-rules "[{action:Permit,sequenceNumber:1234,networkPrefix:'1.1.1.0/24',condition:EqualTo,subnetMaskLength:24}]" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf ipprefix create --ip-prefix-rules '??' + az networkfabric ipprefix create --ip-prefix-rules ?? """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_delete.py index 16e9a0b8423..ab1276fe386 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf ipprefix delete", + "networkfabric ipprefix delete", ) class Delete(AAZCommand): """Delete the Ip Prefix resource. :example: Delete the Ip Prefix - az nf ipprefix delete --resource-group "example-rg" --resource-name "example-ipprefix" + az networkfabric ipprefix delete --resource-group "example-rg" --resource-name "example-ipprefix" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_list.py index eac3e4206e9..2f8de8f162a 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf ipprefix list", + "networkfabric ipprefix list", ) class List(AAZCommand): """List all Ip Prefixes in the provided resource group or subscription. :example: List the Ip Prefixes for Resource Group - az nf ipprefix list --resource-group "example-rg" + az networkfabric ipprefix list --resource-group "example-rg" :example: List the Ip Prefixes for Subscription - az nf ipprefix list --subscription "" + az networkfabric ipprefix list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_show.py index 395c88e37de..0322df6859d 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf ipprefix show", + "networkfabric ipprefix show", ) class Show(AAZCommand): """Show details of the provided Ip Prefix resource. :example: Show the Ip Prefix - az nf ipprefix show --resource-group "example-rg" --resource-name "example-ipprefix" + az networkfabric ipprefix show --resource-group "example-rg" --resource-name "example-ipprefix" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_wait.py index 15b3860e90f..9c8f863d142 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/ipprefix/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/ipprefix/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf ipprefix wait", + "networkfabric ipprefix wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/__cmd_group.py index 37131f15edb..452a509a456 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf l2domain", + "networkfabric l2domain", ) class __CMDGroup(AAZCommandGroup): """Manage L2 Isolation Domain Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_create.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_create.py index 47debd95b24..5b35efabdca 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_create.py @@ -12,13 +12,13 @@ @register_command( - "nf l2domain create", + "networkfabric l2domain create", ) class Create(AAZCommand): """Create a L2 Isolation Domain resource. :example: Create a L2 Isolation Domain - az nf l2domain create --resource-group "example-rg" --resource-name "example-l2domain" --location "westus3" --nf-id "/subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/NetworkFabrics/example-fabricName" --vlan-id 501 --mtu 1500 + az networkfabric l2domain create --resource-group "example-rg" --resource-name "example-l2domain" --location "westus3" --nf-id "/subscriptions/xxxxxx-xxxxxx-xxxx-xxxx-xxxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/NetworkFabrics/example-fabricName" --vlan-id 501 --mtu 1500 """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_delete.py index 86f386a86ef..14cfe307877 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf l2domain delete", + "networkfabric l2domain delete", ) class Delete(AAZCommand): """Delete the L2 Isolation Domain resource. :example: Delete the L2 Isolation Domain - az nf l2domain delete --resource-group "example-rg" --resource-name "example-l2domain" + az networkfabric l2domain delete --resource-group "example-rg" --resource-name "example-l2domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_list.py index 6a06657020b..bcf75a9fee5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf l2domain list", + "networkfabric l2domain list", ) class List(AAZCommand): """List all L2 Isolation Domains in the provided resource group or subscription. :example: List the L2 Isolation Domains for Resource Group - az nf l2domain list --resource-group "example-rg" + az networkfabric l2domain list --resource-group "example-rg" :example: List the L2 Isolation Domains for Subscription - az nf l2domain list --subscription "" + az networkfabric l2domain list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_show.py index 8d27371907e..5afae145a3e 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf l2domain show", + "networkfabric l2domain show", ) class Show(AAZCommand): """Show details of the provided L2 Isolation Domain resource. :example: Show the L2 Isolation Domain - az nf l2domain show --resource-group "example-rg" --resource-name "example-l2domain" + az networkfabric l2domain show --resource-group "example-rg" --resource-name "example-l2domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_update_admin_state.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_update_admin_state.py index 25b598a2a4f..866910fa59f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_update_admin_state.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_update_admin_state.py @@ -12,13 +12,13 @@ @register_command( - "nf l2domain update-admin-state", + "networkfabric l2domain update-admin-state", ) class UpdateAdminState(AAZCommand): """Enables isolation domain across the fabric or on specified racks. :example: Update admin state of L2 Isolation Domain - az nf l2domain update-admin-state --resource-group "example-rg" --resource-name "example-l2domain" --state "Enable" + az networkfabric l2domain update-admin-state --resource-group "example-rg" --resource-name "example-l2domain" --state "Enable" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_wait.py index e87b9668647..aee06eed985 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l2domain/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l2domain/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf l2domain wait", + "networkfabric l2domain wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/__cmd_group.py index 76c72017711..c4a1d581873 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf l3domain", + "networkfabric l3domain", ) class __CMDGroup(AAZCommandGroup): """Manage L3 Isolation Domain Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_create.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_create.py index 514ab6a5446..192eaf5edef 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_create.py @@ -12,16 +12,16 @@ @register_command( - "nf l3domain create", + "networkfabric l3domain create", ) class Create(AAZCommand): """Create a L3 Isolation Domain resource. :example: Create a L3 Isolation Domain - az nf l3domain create --resource-group "example-rg" --resource-name "example-l3domain" --location "westus3" --nf-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabricName" --redistribute-connected-subnets "True" --redistribute-static-routes "True" --aggregate-route-configuration '{"ipv4Routes":[{"prefix": "10.0.0.1/28"}, {"prefix": "10.0.0.2/28"}], "ipv6Routes":[{"prefix": "2fff::/64"}, {"prefix": "2fff::/65"}]}' --connected-subnet-route-policy '{"exportRoutePolicyId": ""}' + az networkfabric l3domain create --resource-group "example-rg" --resource-name "example-l3domain" --location "westus3" --nf-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabricName" --redistribute-connected-subnets "True" --redistribute-static-routes "True" --aggregate-route-configuration "{ipv4Routes:[{prefix:'10.0.0.1/28'},{prefix:'10.0.0.2/28'}],ipv6Routes:[{prefix:'2fff::/64'},{prefix:'2fff::/65'}]}" --connected-subnet-route-policy "{exportRoutePolicyId:'exportRoutePolicyId'}" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf l3domain create --connected-subnet-route-policy '??' + az networkfabric l3domain create --connected-subnet-route-policy ?? """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_delete.py index 39fd57b4e55..09c9a2132bd 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf l3domain delete", + "networkfabric l3domain delete", ) class Delete(AAZCommand): """Delete the L3 Isolation Domain resource. :example: Delete the L3 Isolation Domain - az nf l3domain delete --resource-group "example-rg" --resource-name "example-l3domain" + az networkfabric l3domain delete --resource-group "example-rg" --resource-name "example-l3domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_list.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_list.py index 1bf2b3c348a..d7ce742dea1 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf l3domain list", + "networkfabric l3domain list", ) class List(AAZCommand): """List all L3 Isolation Domains in the provided resource group or subscription. :example: List the L3 Isolation Domains for Resource Group - az nf l3domain list --resource-group "example-rg" + az networkfabric l3domain list --resource-group "example-rg" :example: List the L3 Isolation Domains for Subscription - az nf l3domain list --subscription "" + az networkfabric l3domain list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_show.py index cfd035fd650..27f45f36bd0 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf l3domain show", + "networkfabric l3domain show", ) class Show(AAZCommand): """Show details of the provided L3 Isolation Domain resource. :example: Show the L3 Isolation Domain - az nf l3domain show --resource-group "example-rg" --resource-name "example-l3domain" + az networkfabric l3domain show --resource-group "example-rg" --resource-name "example-l3domain" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_update_admin_state.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_update_admin_state.py index 37c57a9fe28..4fc68b749cf 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_update_admin_state.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_update_admin_state.py @@ -12,13 +12,13 @@ @register_command( - "nf l3domain update-admin-state", + "networkfabric l3domain update-admin-state", ) class UpdateAdminState(AAZCommand): """Enables racks for this Isolation Domain. :example: Update admin state of L3 Isolation Domain - az nf l3domain update-admin-state --resource-group "example-rg" --resource-name "example-l3domain" --state "Enable" + az networkfabric l3domain update-admin-state --resource-group "example-rg" --resource-name "example-l3domain" --state "Enable" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_wait.py index f82317ad34a..0c83413c50f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/l3domain/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/l3domain/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf l3domain wait", + "networkfabric l3domain wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/__cmd_group.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/__cmd_group.py index d5bfccd3837..ce55747d19d 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf nni", + "networkfabric nni", ) class __CMDGroup(AAZCommandGroup): """Manage Network To Network Interconnect Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_create.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_create.py index 7b2c89b8b4a..f3aa85b3d02 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_create.py @@ -12,16 +12,16 @@ @register_command( - "nf nni create", + "networkfabric nni create", ) class Create(AAZCommand): """Create a Network To Network Interconnect resource. :example: Create a Network To Network Interconnect - az nf nni create --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" --nni-type "CE" --is-management-type "True" --use-option-b "True" --layer2-configuration '{"portCount": 3, "mtu": 1500}' --layer3-configuration '{"importRoutePolicyId": "", "exportRoutePolicyId": "", "peerASN": 28, "vlanId": 501, "primaryIpv4Prefix": "172.31.0.0/31", "secondaryIpv4Prefix": "172.31.0.20/31"}' + az networkfabric nni create --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" --nni-type "CE" --is-management-type "True" --use-option-b "True" --layer2-configuration "{portCount:3,mtu:1500}" --layer3-configuration "{importRoutePolicyId:'importRoutePolicyId',exportRoutePolicyId:'exportRoutePolicyId',peerASN:28,vlanId:501,primaryIpv4Prefix:'172.31.0.0/31',secondaryIpv4Prefix:'172.31.0.20/31'}" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf nni create --layer2-configuration '??' + az networkfabric nni create --layer2-configuration ?? """ _aaz_info = { @@ -55,7 +55,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.resource_name = AAZStrArg( options=["--resource-name"], - help="Name of the NetworkToNetworkInterconnectName", + help="Name of the NetworkToNetworkInterconnect Name", required=True, ) _args_schema.resource_group = AAZResourceGroupNameArg( diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_delete.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_delete.py index eaf18a26c1d..ea498b66a27 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf nni delete", + "networkfabric nni delete", ) class Delete(AAZCommand): """Delete the Network To Network Interconnect resource. :example: Delete the Network To Network Interconnect - az nf nni delete --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" + az networkfabric nni delete --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" """ _aaz_info = { @@ -53,7 +53,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.resource_name = AAZStrArg( options=["--resource-name"], - help="Name of the NetworkToNetworkInterconnectName", + help="Name of the NetworkToNetworkInterconnect Name", required=True, id_part="child_name_1", ) diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_list.py index 7e5512514b6..8a319213e8b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf nni list", + "networkfabric nni list", ) class List(AAZCommand): """List all Network To Network Interconnects in the provided resource group. :example: List the Network To Network Interconnects for Resource Group - az nf nni list --resource-group "example-rg" --fabric "example-fabric" + az networkfabric nni list --resource-group "example-rg" --fabric "example-fabric" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_show.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_show.py index 6ffcae3e233..3076d5c9977 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf nni show", + "networkfabric nni show", ) class Show(AAZCommand): """Show details of the provided Network To Network Interconnect resource. :example: Show the Network To Network Interconnect - az nf nni show --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" + az networkfabric nni show --resource-group "example-rg" --fabric "example-fabric" --resource-name "example-nni" """ _aaz_info = { @@ -52,7 +52,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.resource_name = AAZStrArg( options=["--resource-name"], - help="Name of the NetworkToNetworkInterconnectName", + help="Name of the NetworkToNetworkInterconnect Name", required=True, id_part="child_name_1", ) diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_wait.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_wait.py index 65c02fd5772..89ce2491a29 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/nni/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/nni/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf nni wait", + "networkfabric nni wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. @@ -48,7 +48,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _args_schema.resource_name = AAZStrArg( options=["--resource-name"], - help="Name of the NetworkToNetworkInterconnectName", + help="Name of the NetworkToNetworkInterconnect Name", required=True, id_part="child_name_1", ) diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/__cmd_group.py index 864dbe497a5..75bd0f5062a 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf rack", + "networkfabric rack", ) class __CMDGroup(AAZCommandGroup): """Manage Network Rack Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_create.py similarity index 96% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_create.py index 84c2e421884..d07c101d592 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_create.py @@ -12,13 +12,13 @@ @register_command( - "nf rack create", + "networkfabric rack create", ) class Create(AAZCommand): """Create a Network Rack resource. :example: Create a Network Rack - az nf rack create --resource-group "example-rg" --location "westus3" --network-rack-sku "rackskuname" --nf-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/NetworkFabrics/example-fabricName" --resource-name "example-rack" + az networkfabric rack create --resource-group "example-rg" --location "westus3" --network-rack-sku "rackskuname" --nf-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/NetworkFabrics/example-fabricName" --resource-name "example-rack" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_delete.py index 60c249950c5..28a790e46ee 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf rack delete", + "networkfabric rack delete", ) class Delete(AAZCommand): """Delete the Network Rack resource. :example: Delete the Network Rack - az nf rack delete --resource-group "example-rg" --resource-name "example-rack" + az networkfabric rack delete --resource-group "example-rg" --resource-name "example-rack" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_list.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_list.py index 5defea1b695..f977c814f7e 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf rack list", + "networkfabric rack list", ) class List(AAZCommand): """List all Network Racks in the provided resource group or subscription. :example: List the Network Racks for Resource Group. - az nf rack list --resource-group "example-rg" + az networkfabric rack list --resource-group "example-rg" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_show.py index cfb262403ea..b7c5fcfec3a 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf rack show", + "networkfabric rack show", ) class Show(AAZCommand): """Show details of the provided Network Rack resource. :example: Show the Network Rack - az nf rack show --resource-group "example-rg" --resource-name "example-rack" + az networkfabric rack show --resource-group "example-rg" --resource-name "example-rack" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_wait.py index 6cdc46acb7c..f3ce857ece1 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/rack/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/rack/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf rack wait", + "networkfabric rack wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/__cmd_group.py similarity index 95% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/__cmd_group.py index a8fa7c4b0a0..7742a381ff4 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf racksku", + "networkfabric racksku", ) class __CMDGroup(AAZCommandGroup): """Manage Network Rack SKU Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/_list.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/_list.py index 9224f333de1..3c217cd6e68 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/_list.py @@ -12,13 +12,13 @@ @register_command( - "nf racksku list", + "networkfabric racksku list", ) class List(AAZCommand): """List all Network Rack SKUs in the provided subscription. :example: List the RackSKU for Subscription - az nf racksku list --subscription + az networkfabric racksku list --subscription """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/_show.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/_show.py index aabb24185a0..d4d73ac4600 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/racksku/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/racksku/_show.py @@ -12,7 +12,7 @@ @register_command( - "nf racksku show", + "networkfabric racksku show", ) class Show(AAZCommand): """Show details of the provided Network Rack SKU resource. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/__cmd_group.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/__cmd_group.py index 7e1d17e34c5..dc0610de264 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__cmd_group.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/__cmd_group.py @@ -12,7 +12,7 @@ @register_command_group( - "nf routepolicy", + "networkfabric routepolicy", ) class __CMDGroup(AAZCommandGroup): """Manage Route Policy Resource diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__init__.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/__init__.py similarity index 100% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/__init__.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/__init__.py diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_create.py similarity index 94% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_create.py index fcdba54a919..10b20d4250b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_create.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_create.py @@ -12,21 +12,21 @@ @register_command( - "nf routepolicy create", + "networkfabric routepolicy create", ) class Create(AAZCommand): """Create a Route Policy resource. :example: Create a Route Policy Example 1 - az nf routepolicy create --resource-group "example-rg" --resource-name "example-routepolicy" --location "eastus" --statements '[{ "sequenceNumber": 1234, "condition": {"ipCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunityName"], "ipPrefixId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefixName"}, "action": {"localPreference": 123, "actionType": "Permit", "ipCommunityProperties": {"add": {"ipCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunityName"]}}}}]' + az networkfabric routepolicy create --resource-group "example-rg" --resource-name "example-routepolicy" --location "westus3" --statements "[{sequenceNumber:1234,condition:{ipCommunityIds:['/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunityName'],ipPrefixId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefixName'},action:{localPreference:123,actionType:Permit,ipCommunityProperties:{add:{ipCommunityIds:['/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunityName']}}}}]" :example: Create a Route Policy Example 2 - az nf routepolicy create --resource-group "example-rg" --resource-name "example-routepolicy" --location "eastus" --statements '[{ "sequenceNumber": 1235, "condition": {"ipExtendedCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunityName"]}, "action": {"localPreference": 1235, "actionType": "Deny", "ipExtendedCommunityProperties": {"set": {"ipExtendedCommunityIds": ["/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunityName"]}}}}]' + az networkfabric routepolicy create --resource-group "example-rg" --resource-name "example-routepolicy" --location "westus3" --statements "[{sequenceNumber:1235,condition:{ipExtendedCommunityIds:['/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunityName']},action:{localPreference:1235,actionType:Deny,ipExtendedCommunityProperties:{set:{ipExtendedCommunityIds:['/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunityName']}}}}]" :example: Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax. - az nf routepolicy create --statements '??' - az nf routepolicy create --statements '[{'action':'??'' - az nf routepolicy create --statements '[{'action':{'ip-community-properties':'??'' + az networkfabric routepolicy create --statements ?? + az networkfabric routepolicy create --statements "[{action:??" + az networkfabric routepolicy create --statements "[{action:{ip-community-properties:??" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_delete.py similarity index 97% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_delete.py index abc3d6375fc..1b74e936ddb 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_delete.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_delete.py @@ -12,13 +12,13 @@ @register_command( - "nf routepolicy delete", + "networkfabric routepolicy delete", ) class Delete(AAZCommand): """Delete the Route Policy resource. :example: Delete the Route Policy - az nf routepolicy delete --resource-group "example-rg" --resource-name "example-routepolicy" + az networkfabric routepolicy delete --resource-group "example-rg" --resource-name "example-routepolicy" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_list.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_list.py index c7308625e20..6c5d54f59ab 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_list.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_list.py @@ -12,16 +12,16 @@ @register_command( - "nf routepolicy list", + "networkfabric routepolicy list", ) class List(AAZCommand): """List all Route Policies in the provided resource group or subscription. :example: List the Route Policies for Resource Group - az nf routepolicy list --resource-group "example-rg" + az networkfabric routepolicy list --resource-group "example-rg" :example: List the Route Policies for Subscription - az nf routepolicy list --subscription "" + az networkfabric routepolicy list --subscription "" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_show.py similarity index 98% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_show.py index 91e4dbbc89e..bfc393d4dc7 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_show.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_show.py @@ -12,13 +12,13 @@ @register_command( - "nf routepolicy show", + "networkfabric routepolicy show", ) class Show(AAZCommand): """Show details of the provided Route Policy resource. :example: Show the Route Policy - az nf routepolicy show --resource-group "example-rg" --resource-name "example-routepolicy" + az networkfabric routepolicy show --resource-group "example-rg" --resource-name "example-routepolicy" """ _aaz_info = { diff --git a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_wait.py similarity index 99% rename from src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py rename to src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_wait.py index c1e519262de..359f1f5e7a7 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/nf/routepolicy/_wait.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/routepolicy/_wait.py @@ -12,7 +12,7 @@ @register_command( - "nf routepolicy wait", + "networkfabric routepolicy wait", ) class Wait(AAZWaitCommand): """Place the CLI in a waiting state until a condition is met. diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini index 62adc7c166d..9c3dfbb91a7 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/config.ini @@ -2,16 +2,16 @@ # Add the parameters relevant to each resource in the corresponding section [NETWORK_FABRIC_CONTROLLER] -name="nfa-tool-ts-cli-nfc061223" +name="nfa-tool-ts-cli-nfc061423" resource_group="nfa-tool-ts-clisdktest-nfcrg060523" location="East US" infra_ER_Connections='[{"expressRouteCircuitId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit", "expressRouteAuthorizationKey": ""}]' workload_ER_Connections='[{"expressRouteCircuitId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit", "expressRouteAuthorizationKey": ""}]' ipv4_address_space="20.0.0.0/19" -nameDelete="nfa-tool-ts-nfc1-061223" +nameDelete="nfa-tool-ts-cli-nfc061323" [NETWORK_FABRIC] -name="nfa-tool-ts-cli-nf061223" +name="nfa-tool-ts-cli-nf061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" nf_sku="fab1" @@ -53,7 +53,7 @@ layer2_Configuration="{'portCount': 3, 'mtu': 1500}" layer3_Configuration="{'importRoutePolicyId': '', 'exportRoutePolicyId': '', 'peerASN': 65535, 'vlanId': 600, 'primaryIpv4Prefix': '20.20.0.0/27', 'secondaryIpv4Prefix': '20.20.0.0/25', 'primaryIpv6Prefix': '3FFE:FFFF:0:CD30::a4/127', 'secondaryIpv6Prefix':'3FFE:FFFF:0:CD30::a4/127'}" [L2_ISOLATION_DOMAIN] -name="nfa-tool-ts-cli-l2domain1-061223" +name="nfa-tool-ts-cli-l2domain1-061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" nf_id="/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523" @@ -63,7 +63,7 @@ state_Enable="Enable" state_Disable="Disable" [L3_ISOLATION_DOMAIN] -name="nfa-tool-ts-cli-l3domain061223" +name="nfa-tool-ts-cli-l3domain061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" nf_id="/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523" @@ -77,13 +77,13 @@ state_Disable="Disable" resource_name="nfa-tool-ts-cli-l3domain1-061223" [IP_PREFIX] -name="nfa-tool-ts-cli-ipprefix061223" +name="nfa-tool-ts-cli-ipprefix061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" ip_prefix_rules="[{'action': 'Permit', 'sequenceNumber': 10, 'networkPrefix': '10.12.14.0/24', 'condition': 'EqualTo', 'subnetMaskLength': 24}]" [IP_COMMUNITY] -name="nfa-tool-ts-cli-ipcommunity061223" +name="nfa-tool-ts-cli-ipcommunity061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" action="Deny" @@ -91,21 +91,21 @@ well_known_communities="LocalAS" "GShut" community_members="101:200" "101:201" [IP_EXTENDED_COMMUNITY] -name="nfa-tool-ts-cli-ipextcommunity061223" +name="nfa-tool-ts-cli-ipextcommunity061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" action="Deny" route_targets="1024:219" "1001:200" [ROUTE_POLICY] -name="nfa-tool-ts-cli-routepolicy061223" +name="nfa-tool-ts-cli-routepolicy061423" resource_group="nfa-tool-ts-clisdktest-nfrg060523" location="East US" statements_with_ipcommunity='[{"sequenceNumber": 1214, "condition": {"ipCommunityIds": ["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"], "ipPrefixId": "/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"}, "action":{"localPreference": 113, "actionType": "Permit", "ipCommunityProperties": {"add":{"ipCommunityIds":["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}]' statements_with_ipextcommunity='[{"sequenceNumber": 1214, "condition": {"ipExtendedCommunityIds": ["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"], "ipPrefixId": "/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"}, "action":{"localPreference": 113, "actionType": "Permit", "ipExtendedCommunityProperties": {"add":{"ipExtendedCommunityIds":["/subscriptions/61065ccc-9543-4b91-b2d1-0ce42a914507/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}]' [Internal_Network] -name="nfa-tool-ts-cli-internalnetwork061223" +name="nfa-tool-ts-cli-internalnetwork061423" l3domain="nfa-tool-ts-cli-l3domain1-061223" resource_group="nfa-tool-ts-clisdktest-nfrg060523" vlan_id=2600 @@ -116,7 +116,7 @@ static_route_conf="{'ipv4Routes':[{'prefix':'10.0.0.1/28','nextHop':['10.0.1.1'] bgp_conf="{'defaultRouteOriginate':'True','allowAS':2,'allowASOverride':'Enable','peerASN':65535,'ipv4ListenRangePrefixes':['10.1.1.0/28'],'ipv4NeighborAddress':[{'address': '10.1.1.0'}]}" [External_Network] -name="nfa-tool-ts-cli-externalnetwork061223" +name="nfa-tool-ts-cli-externalnetwork061423" l3domain="nfa-tool-ts-cli-l3domain1-061223" resource_group="nfa-tool-ts-clisdktest-nfrg060523" peering_option="OptionB" diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml index 6b08258a871..d21fb00b75f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Device_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf device show + - networkfabric device show Connection: - keep-alive ParameterSetName: @@ -18,18 +18,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:50.9265263Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:45:43.21043Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"1234abcd5678","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '993' + - '951' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:45:35 GMT + - Wed, 14 Jun 2023 02:25:37 GMT etag: - - '"fe05296c-0000-0100-0000-6486e89b0000"' + - '"fe057878-0000-0100-0000-6486e9480000"' expires: - '-1' pragma: @@ -55,7 +55,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf device list + - networkfabric device list Connection: - keep-alive User-Agent: @@ -64,16 +64,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkDevices?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE1","name":"nfTestD15180423-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:23.2032787Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:23.2032787Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AggRack-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE2","name":"nfTestD15180423-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:24.4376686Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:24.4376686Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AggRack-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR17","name":"nfTestD15180423-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:25.703311Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:25.703311Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AggRack-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR18","name":"nfTestD15180423-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:26.9377019Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:26.9377019Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AggRack-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch1","name":"nfTestD15180423-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:28.2189712Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:28.2189712Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AggRack-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch2","name":"nfTestD15180423-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:29.5003026Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:29.5003026Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AggRack-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB1","name":"nfTestD15180423-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:30.7033823Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:30.7033823Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AggRack-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB2","name":"nfTestD15180423-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:31.8440728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:31.8440728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AggRack-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR1","name":"nfTestD15180423-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:34.7660407Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:34.7660407Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CompRack1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR2","name":"nfTestD15180423-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:35.9378315Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:35.9378315Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CompRack1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-MgmtSwitch","name":"nfTestD15180423-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:37.2034743Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:37.2034743Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CompRack1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR3","name":"nfTestD15180423-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:39.8910125Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:39.8910125Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CompRack2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR4","name":"nfTestD15180423-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:41.125408Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:41.125408Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CompRack2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-MgmtSwitch","name":"nfTestD15180423-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:42.2972959Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:42.2972959Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CompRack2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","name":"nfa-tool-ts-nf060523-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.4530435Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.4530435Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","name":"nfa-tool-ts-nf060523-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.7811728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.7811728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","name":"nfa-tool-ts-nf060523-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.9531789Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.9531789Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","name":"nfa-tool-ts-nf060523-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.1561799Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.1561799Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.3749354Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.3749354Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.5624385Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.5624385Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","name":"nfa-tool-ts-nf060523-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.7499449Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.7499449Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2","name":"nfa-tool-ts-nf060523-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.9530723Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.9530723Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","name":"nfa-tool-ts-nf060523-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.7655878Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.7655878Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","name":"nfa-tool-ts-nf060523-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.9999672Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.9999672Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.2187216Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.2187216Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","name":"nfa-tool-ts-nf060523-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.9218621Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.9218621Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","name":"nfa-tool-ts-nf060523-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.1718627Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.1718627Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.3906215Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.3906215Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:50.9265263Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.2234024Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.2234024Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.3796554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.3796554Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.5827846Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.5827846Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.7702844Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.7702844Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.989179Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.989179Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.1609203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.1609203Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.3484212Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.3484212Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.0203043Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.0203043Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.1765575Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.1765575Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.3484356Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.3484356Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.8484863Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.8484863Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.035944Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.035944Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.2078228Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.2078228Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE1","name":"nfTestD15180423-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:23.2032787Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:23.2032787Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AggRack-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE2","name":"nfTestD15180423-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:24.4376686Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:24.4376686Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AggRack-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR17","name":"nfTestD15180423-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:25.703311Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:25.703311Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AggRack-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR18","name":"nfTestD15180423-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:26.9377019Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:26.9377019Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AggRack-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch1","name":"nfTestD15180423-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:28.2189712Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:28.2189712Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AggRack-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch2","name":"nfTestD15180423-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:29.5003026Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:29.5003026Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AggRack-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB1","name":"nfTestD15180423-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:30.7033823Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:30.7033823Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AggRack-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB2","name":"nfTestD15180423-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:31.8440728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:31.8440728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AggRack-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR1","name":"nfTestD15180423-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:34.7660407Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:34.7660407Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CompRack1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR2","name":"nfTestD15180423-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:35.9378315Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:35.9378315Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CompRack1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-MgmtSwitch","name":"nfTestD15180423-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:37.2034743Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:37.2034743Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CompRack1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR3","name":"nfTestD15180423-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:39.8910125Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:39.8910125Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CompRack2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR4","name":"nfTestD15180423-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:41.125408Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:41.125408Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CompRack2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-MgmtSwitch","name":"nfTestD15180423-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-04-18T10:02:42.2972959Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:02:42.2972959Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CompRack2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-CE1","name":"nffab1061323-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:34.7625024Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:38.1089791Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"Arista;DCS-7280PR3-24;12.05;JPE21330382","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-CE2","name":"nffab1061323-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:36.262504Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:40.0934647Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"Arista;DCS-7280PR3-24;12.05;JPE21330442","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-TOR17","name":"nffab1061323-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:37.7625346Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:07:03.2978681Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"Arista;DCS-7280CR3-32P4;11.01;XXXXXXXXXXX","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-TOR18","name":"nffab1061323-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:38.9812545Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:07:05.3448521Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"Arista;DCS-7280CR3-32P4;11.01;XXXXXXXXXXX","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-MgmtSwitch1","name":"nffab1061323-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:40.1375008Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:42.3123433Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"Arista;DCS-7010TX-48;12.00;JPE21372286","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-MgmtSwitch2","name":"nffab1061323-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:41.2937499Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:07:01.2508818Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"Arista;DCS-7010TX-48;12.00;XXXXXXXXXXX","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-NPB1","name":"nffab1061323-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:42.4187838Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:07:07.4543336Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"Arista;DCS-7280CR3-32P4;11.00;JPE19460696","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-NPB2","name":"nffab1061323-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:43.5437515Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:07:09.5013191Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"Arista;DCS-7280CR3-32P4;11.00;xxxxxxxxxxx","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack1-TOR1","name":"nffab1061323-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:46.9968779Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:50.1409036Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"Arista;DCS-7280CR3MK-32P4;11.00;JPE20101872","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack1-TOR2","name":"nffab1061323-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:48.1374996Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:52.0628837Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"Arista;DCS-7280CR3MK-32P4;11.00;JPE20101885","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack1-MgmtSwitch","name":"nffab1061323-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:49.3250521Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:53.7817277Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"Arista;DCS-7010TX-48;12.00;JPE21400271","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack2-TOR3","name":"nffab1061323-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:52.3249977Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:55.5787023Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"Arista;DCS-7280CR3MK-32P4;11.00;JPE20101859","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack2-TOR4","name":"nffab1061323-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:53.621924Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:57.4694255Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"Arista;DCS-7280CR3MK-32P4;11.00;JPE20101830","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack2-MgmtSwitch","name":"nffab1061323-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus2euap","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-13T12:06:54.7781293Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:59.3601542Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"Arista;DCS-7010TX-48;12.00;JPE21383405","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","name":"nfa-tool-ts-nf060523-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.4530435Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.4530435Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","name":"nfa-tool-ts-nf060523-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.7811728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.7811728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","name":"nfa-tool-ts-nf060523-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.9531789Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.9531789Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","name":"nfa-tool-ts-nf060523-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.1561799Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.1561799Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.3749354Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.3749354Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.5624385Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.5624385Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","name":"nfa-tool-ts-nf060523-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.7499449Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.7499449Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2","name":"nfa-tool-ts-nf060523-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.9530723Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.9530723Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","name":"nfa-tool-ts-nf060523-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.7655878Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.7655878Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","name":"nfa-tool-ts-nf060523-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.9999672Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.9999672Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.2187216Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.2187216Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","name":"nfa-tool-ts-nf060523-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.9218621Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.9218621Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","name":"nfa-tool-ts-nf060523-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.1718627Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.1718627Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.3906215Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.3906215Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:45:43.21043Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"1234abcd5678","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.2234024Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.2234024Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.3796554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.3796554Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.5827846Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.5827846Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.7702844Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.7702844Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.989179Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.989179Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.1609203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.1609203Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.3484212Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.3484212Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.0203043Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.0203043Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.1765575Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.1765575Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.3484356Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.3484356Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.8484863Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.8484863Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.035944Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.035944Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.2078228Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.2078228Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '41177' + - '54241' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:45:38 GMT + - Wed, 14 Jun 2023 02:25:39 GMT expires: - '-1' pragma: @@ -85,10 +85,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 5f238078-ef2a-4b9d-8a0e-3068b6833843 - - 10b41488-ab91-448e-bae9-eec6f078a751 - - 801ec27e-bdf8-4024-b86c-601e3d12bc2a - - a05294f1-0bd8-419b-a17b-c8d21dc10635 + - ae600948-b0e6-4468-9a7a-678034de0ace + - f610ff1e-215e-4cca-b666-cea5793a84b7 + - aacd6aa2-db49-4192-9963-58f81bf2936a + - 2b2aa925-c66a-4109-a9d3-0328807acb3e status: code: 200 message: OK @@ -100,7 +100,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf device list + - networkfabric device list Connection: - keep-alive ParameterSetName: @@ -111,16 +111,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","name":"nfa-tool-ts-nf060523-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.4530435Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.4530435Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","name":"nfa-tool-ts-nf060523-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.7811728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.7811728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","name":"nfa-tool-ts-nf060523-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.9531789Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.9531789Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","name":"nfa-tool-ts-nf060523-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.1561799Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.1561799Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.3749354Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.3749354Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.5624385Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.5624385Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","name":"nfa-tool-ts-nf060523-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.7499449Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.7499449Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2","name":"nfa-tool-ts-nf060523-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.9530723Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.9530723Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","name":"nfa-tool-ts-nf060523-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.7655878Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.7655878Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","name":"nfa-tool-ts-nf060523-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.9999672Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.9999672Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.2187216Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.2187216Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","name":"nfa-tool-ts-nf060523-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.9218621Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.9218621Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","name":"nfa-tool-ts-nf060523-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.1718627Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.1718627Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.3906215Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.3906215Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:50.9265263Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.2234024Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.2234024Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.3796554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.3796554Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.5827846Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.5827846Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.7702844Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.7702844Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.989179Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.989179Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.1609203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.1609203Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.3484212Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.3484212Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.0203043Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.0203043Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.1765575Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.1765575Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.3484356Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.3484356Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.8484863Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.8484863Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.035944Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.035944Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.2078228Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.2078228Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","name":"nfa-tool-ts-nf060523-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.4530435Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.4530435Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","name":"nfa-tool-ts-nf060523-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.7811728Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.7811728Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","name":"nfa-tool-ts-nf060523-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:34.9531789Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:34.9531789Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","name":"nfa-tool-ts-nf060523-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.1561799Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.1561799Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.3749354Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.3749354Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.5624385Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.5624385Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","name":"nfa-tool-ts-nf060523-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.7499449Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.7499449Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2","name":"nfa-tool-ts-nf060523-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:35.9530723Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:35.9530723Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","name":"nfa-tool-ts-nf060523-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.7655878Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.7655878Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","name":"nfa-tool-ts-nf060523-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:36.9999672Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:36.9999672Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.2187216Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.2187216Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","name":"nfa-tool-ts-nf060523-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:37.9218621Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:37.9218621Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","name":"nfa-tool-ts-nf060523-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.1718627Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.1718627Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","name":"nfa-tool-ts-nf060523-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T07:01:38.3906215Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:38.3906215Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:45:43.21043Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"1234abcd5678","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.2234024Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.2234024Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE2","hostName":"AR-CE2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.3796554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.3796554Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR17","hostName":"AR-TOR17","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.5827846Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.5827846Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR18","hostName":"AR-TOR18","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.7702844Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.7702844Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch1","hostName":"AR-MGMT1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:51.989179Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:51.989179Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch2","hostName":"AR-MGMT2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.1609203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.1609203Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB1","hostName":"AR-NPB1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:52.3484212Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:52.3484212Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"NPB2","hostName":"AR-NPB2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.0203043Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.0203043Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR1","hostName":"CR1-TOR1","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.1765575Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.1765575Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR2","hostName":"CR1-TOR2","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.3484356Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.3484356Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR1-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:53.8484863Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:53.8484863Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR3","hostName":"CR2-TOR3","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.035944Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.035944Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"TOR4","hostName":"CR2-TOR4","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","name":"nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:54.2078228Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:54.2078228Z"},"properties":{"annotation":null,"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","networkDeviceSku":"DefaultSku","networkDeviceRole":"MgmtSwitch","hostName":"CR2-MGMT","serialNumber":"NA","version":null,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '27919' + - '27877' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:45:40 GMT + - Wed, 14 Jun 2023 02:25:40 GMT expires: - '-1' pragma: @@ -132,10 +132,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 45afe359-368e-4f4b-8e3c-990b8deaf4ec - - d3c88339-70ec-4411-9c67-c6657340ee37 - - dc7d695a-44c5-4141-b377-87e6a239c0ca - - c0efd361-509d-47e2-acd6-dd715c7fc798 + - ed4dd35b-9315-499f-98d3-a1cd3796b947 + - 906b7e97-acc3-4873-825f-0a82f82fda1c + - 39a53023-68fd-4fe7-811a-d93e54fca6b1 + - 192b481d-a863-4a0e-82fd-3f8b53b6e6a9 status: code: 200 message: OK @@ -147,7 +147,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf device update + - networkfabric device update Connection: - keep-alive Content-Length: @@ -162,22 +162,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:45:43.21043Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"1234abcd5678","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","name":"nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","type":"microsoft.managednetworkfabric/networkdevices","location":"eastus","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-12T09:42:50.9265263Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:25:42.5674188Z"},"properties":{"networkRackId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","networkDeviceSku":"DefaultSku","networkDeviceRole":"CE1","hostName":"AR-CE1","serialNumber":"1234abcd5678","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '951' + - '953' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:45:43 GMT + - Wed, 14 Jun 2023 02:25:43 GMT etag: - - '"fe057878-0000-0100-0000-6486e9480000"' + - '"65062cdc-0000-0100-0000-648925270000"' expires: - '-1' mise-correlation-id: - - a5da70dd-ebb6-4482-b5a8-b5020f16425a + - 0b85f392-9621-4101-8da4-1c1038eeb42a pragma: - no-cache strict-transport-security: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml index 524b73becd8..ecefd8d9059 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Interface_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface show + - networkfabric interface show Connection: - keep-alive ParameterSetName: @@ -18,18 +18,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","name":"Ethernet1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.6766588Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:32:49.6746393Z"},"properties":{"physicalIdentifier":"Ethernet1","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","name":"Ethernet1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.6766588Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:55:00.594884Z"},"properties":{"physicalIdentifier":"Ethernet1","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}}' headers: cache-control: - no-cache content-length: - - '740' + - '739' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:43:37 GMT + - Wed, 14 Jun 2023 02:25:22 GMT etag: - - '"e702c46d-0000-0100-0000-6486f4510000"' + - '"e802052d-0000-0100-0000-6486f9840000"' expires: - '-1' pragma: @@ -55,7 +55,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface list + - networkfabric interface list Connection: - keep-alive ParameterSetName: @@ -66,16 +66,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","name":"Ethernet1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.6766588Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:32:49.6746393Z"},"properties":{"physicalIdentifier":"Ethernet1","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet2","name":"Ethernet2","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.7703487Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.7703487Z"},"properties":{"physicalIdentifier":"Ethernet2","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet9","name":"Ethernet9","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.8484729Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.8484729Z"},"properties":{"physicalIdentifier":"Ethernet9","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet10","name":"Ethernet10","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.957852Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.957852Z"},"properties":{"physicalIdentifier":"Ethernet10","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet11","name":"Ethernet11","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.0359711Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.0359711Z"},"properties":{"physicalIdentifier":"Ethernet11","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet12","name":"Ethernet12","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.1297223Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.1297223Z"},"properties":{"physicalIdentifier":"Ethernet12","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet17","name":"Ethernet17","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.2078476Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.2078476Z"},"properties":{"physicalIdentifier":"Ethernet17","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet47","name":"Ethernet47","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.2859719Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.2859719Z"},"properties":{"physicalIdentifier":"Ethernet47","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet48","name":"Ethernet48","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.3641003Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.3641003Z"},"properties":{"physicalIdentifier":"Ethernet48","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet49","name":"Ethernet49","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.4578504Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.4578504Z"},"properties":{"physicalIdentifier":"Ethernet49","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet50","name":"Ethernet50","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.5360123Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.5360123Z"},"properties":{"physicalIdentifier":"Ethernet50","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Management1","name":"Management1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.6297768Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.6297768Z"},"properties":{"physicalIdentifier":"Management","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Management","ipv4Address":"10.1.2.6"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","name":"Ethernet1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.6766588Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:55:00.594884Z"},"properties":{"physicalIdentifier":"Ethernet1","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet2","name":"Ethernet2","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.7703487Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.7703487Z"},"properties":{"physicalIdentifier":"Ethernet2","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet9","name":"Ethernet9","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.8484729Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.8484729Z"},"properties":{"physicalIdentifier":"Ethernet9","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet10","name":"Ethernet10","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:17.957852Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:17.957852Z"},"properties":{"physicalIdentifier":"Ethernet10","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet11","name":"Ethernet11","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.0359711Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.0359711Z"},"properties":{"physicalIdentifier":"Ethernet11","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet12","name":"Ethernet12","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.1297223Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.1297223Z"},"properties":{"physicalIdentifier":"Ethernet12","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet17","name":"Ethernet17","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.2078476Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.2078476Z"},"properties":{"physicalIdentifier":"Ethernet17","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet47","name":"Ethernet47","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.2859719Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.2859719Z"},"properties":{"physicalIdentifier":"Ethernet47","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet48","name":"Ethernet48","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.3641003Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.3641003Z"},"properties":{"physicalIdentifier":"Ethernet48","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet49","name":"Ethernet49","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.4578504Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.4578504Z"},"properties":{"physicalIdentifier":"Ethernet49","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet50","name":"Ethernet50","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.5360123Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.5360123Z"},"properties":{"physicalIdentifier":"Ethernet50","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Data"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Management1","name":"Management1","type":"microsoft.managednetworkfabric/networkdevices/networkinterfaces","systemData":{"createdBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","createdByType":"Application","createdAt":"2023-06-05T09:06:18.6297768Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:18.6297768Z"},"properties":{"physicalIdentifier":"Management","administrativeState":"Enabled","provisioningState":"Succeeded","interfaceType":"Management","ipv4Address":"10.1.2.6"}}]}' headers: cache-control: - no-cache content-length: - - '8961' + - '8960' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:43:39 GMT + - Wed, 14 Jun 2023 02:25:24 GMT expires: - '-1' pragma: @@ -101,7 +101,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive Content-Length: @@ -119,7 +119,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -127,13 +127,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:43:42 GMT + - Wed, 14 Jun 2023 02:25:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview mise-correlation-id: - - 69c510d5-0012-48db-8b2c-fc9d71277781 + - b7828ca6-ded4-484a-9b2a-ee5549746427 pragma: - no-cache strict-transport-security: @@ -155,7 +155,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -163,10 +163,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -175,9 +175,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:43:43 GMT + - Wed, 14 Jun 2023 02:25:26 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -197,7 +197,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -205,10 +205,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -217,9 +217,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:13 GMT + - Wed, 14 Jun 2023 02:25:58 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -239,7 +239,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -247,10 +247,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -259,9 +259,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:44 GMT + - Wed, 14 Jun 2023 02:26:27 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -281,7 +281,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -289,10 +289,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -301,9 +301,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:45:14 GMT + - Wed, 14 Jun 2023 02:26:58 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -323,7 +323,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -331,10 +331,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -343,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:45:44 GMT + - Wed, 14 Jun 2023 02:27:28 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -365,7 +365,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -373,10 +373,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -385,9 +385,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:46:24 GMT + - Wed, 14 Jun 2023 02:28:00 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -407,7 +407,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -415,10 +415,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -427,9 +427,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:46:54 GMT + - Wed, 14 Jun 2023 02:28:30 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -449,7 +449,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -457,10 +457,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -469,9 +469,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:47:25 GMT + - Wed, 14 Jun 2023 02:29:01 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -491,7 +491,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -499,10 +499,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -511,9 +511,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:47:55 GMT + - Wed, 14 Jun 2023 02:29:31 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -533,7 +533,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -541,10 +541,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:43:42.3154652Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:25:25.3804054Z"}' headers: cache-control: - no-cache @@ -553,9 +553,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:25 GMT + - Wed, 14 Jun 2023 02:30:03 GMT etag: - - '"72032195-0000-0100-0000-6486f6de0000"' + - '"98030836-0000-0100-0000-648925160000"' expires: - '-1' pragma: @@ -575,7 +575,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -583,10 +583,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:43:42.3154652Z","endTime":"2023-06-12T10:48:39.3380948Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-14T02:25:25.3804054Z","endTime":"2023-06-14T02:30:22.8832411Z","properties":null}' headers: cache-control: - no-cache @@ -595,9 +595,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:56 GMT + - Wed, 14 Jun 2023 02:30:33 GMT etag: - - '"7203279d-0000-0100-0000-6486f8070000"' + - '"9803b341-0000-0100-0000-6489263e0000"' expires: - '-1' pragma: @@ -621,7 +621,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -629,10 +629,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"d02b286d-366c-4ca3-ab60-efb0f2d26b9b*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:43:42.3154652Z","endTime":"2023-06-12T10:48:39.3380948Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"48e4e8ba-882d-440b-90f7-5acbe0db4afc*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-14T02:25:25.3804054Z","endTime":"2023-06-14T02:30:22.8832411Z","properties":null}' headers: cache-control: - no-cache @@ -641,9 +641,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:56 GMT + - Wed, 14 Jun 2023 02:30:33 GMT etag: - - '"7203279d-0000-0100-0000-6486f8070000"' + - '"9803b341-0000-0100-0000-6489263e0000"' expires: - '-1' pragma: @@ -667,7 +667,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive Content-Length: @@ -685,7 +685,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -693,13 +693,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:58 GMT + - Wed, 14 Jun 2023 02:30:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview mise-correlation-id: - - 666d5d45-06fa-4730-8d6a-87ee5ca3ef82 + - 85a82cb9-06f2-4bfc-bef5-a1fc1b8de4da pragma: - no-cache strict-transport-security: @@ -721,7 +721,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -729,10 +729,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:30:35.3800559Z"}' headers: cache-control: - no-cache @@ -741,9 +741,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:59 GMT + - Wed, 14 Jun 2023 02:30:36 GMT etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' + - '"98030e42-0000-0100-0000-6489264b0000"' expires: - '-1' pragma: @@ -763,7 +763,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -771,10 +771,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:30:35.3800559Z"}' headers: cache-control: - no-cache @@ -783,9 +783,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:49:29 GMT + - Wed, 14 Jun 2023 02:31:06 GMT etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' + - '"98030e42-0000-0100-0000-6489264b0000"' expires: - '-1' pragma: @@ -805,7 +805,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -813,10 +813,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-14T02:30:35.3800559Z"}' headers: cache-control: - no-cache @@ -825,9 +825,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:50:00 GMT + - Wed, 14 Jun 2023 02:31:38 GMT etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' + - '"98030e42-0000-0100-0000-6489264b0000"' expires: - '-1' pragma: @@ -847,7 +847,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -855,388 +855,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:50:30 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:50:59 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:51:30 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:52:00 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:52:31 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:53:01 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Accepted","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:53:32 GMT - etag: - - '"720356a0-0000-0100-0000-6486f81a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:54:02 GMT - etag: - - '"7203f4a7-0000-0100-0000-6486f9470000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Updating","startTime":"2023-06-12T10:48:58.2223609Z"}' - headers: - cache-control: - - no-cache - content-length: - - '654' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:54:33 GMT - etag: - - '"7203f4a7-0000-0100-0000-6486f9470000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf interface update-admin-state - Connection: - - keep-alive - ParameterSetName: - - --resource-group --device --resource-name --state - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:48:58.2223609Z","endTime":"2023-06-12T10:55:00.7722655Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-14T02:30:35.3800559Z","endTime":"2023-06-14T02:31:49.0464774Z","properties":null}' headers: cache-control: - no-cache @@ -1245,9 +867,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:55:03 GMT + - Wed, 14 Jun 2023 02:32:08 GMT etag: - - '"720363aa-0000-0100-0000-6486f9840000"' + - '"9803e944-0000-0100-0000-648926950000"' expires: - '-1' pragma: @@ -1271,7 +893,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf interface update-admin-state + - networkfabric interface update-admin-state Connection: - keep-alive ParameterSetName: @@ -1279,10 +901,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"2234a188-82e2-4b96-beb5-a07869b6c1a7*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-12T10:48:58.2223609Z","endTime":"2023-06-12T10:55:00.7722655Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","name":"543c15ae-0bc9-4f6a-b98e-53d6296a2012*7EC1A5A11DED54BDA41F0BA9BAB23A2F8BE0395BD7BB9375A74DCEBA7EF21532","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1/networkInterfaces/Ethernet1","status":"Succeeded","startTime":"2023-06-14T02:30:35.3800559Z","endTime":"2023-06-14T02:31:49.0464774Z","properties":null}' headers: cache-control: - no-cache @@ -1291,9 +913,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:55:03 GMT + - Wed, 14 Jun 2023 02:32:09 GMT etag: - - '"720363aa-0000-0100-0000-6486f9840000"' + - '"9803e944-0000-0100-0000-648926950000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml index d2ddd8701c3..feb6c81c5d9 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_Rack_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf rack show + - networkfabric rack show Connection: - keep-alive ParameterSetName: @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:51:53 GMT + - Wed, 14 Jun 2023 02:25:53 GMT etag: - '"2f0cbb39-0000-0100-0000-647da5850000"' expires: @@ -55,7 +55,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf rack list + - networkfabric rack list Connection: - keep-alive ParameterSetName: @@ -66,16 +66,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","name":"nfa-tool-ts-nf060523-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:21.87467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:12.8172367Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","name":"nfa-tool-ts-nf060523-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.8434406Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.192202Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack3","name":"nfa-tool-ts-nf060523-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:23.2965728Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:23.2965728Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","provisioningState":"Failed"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","name":"nfa-tool-ts-nf060523-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:21.87467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:12.8172367Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","name":"nfa-tool-ts-nf060523-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.8434406Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.192202Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack3","name":"nfa-tool-ts-nf060523-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:23.2965728Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:23.2965728Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","name":"nfa-tool-ts-cli-nf1-061223-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:45.3972158Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:24.1624224Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","name":"nfa-tool-ts-cli-nf1-061223-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:45.8659203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:24.3030529Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","name":"nfa-tool-ts-cli-nf1-061223-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:46.2253027Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:24.4593089Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack3","name":"nfa-tool-ts-cli-nf1-061223-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:46.4909285Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:46.4909285Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf061223-comprack3","name":"nfa-tool-ts-cli-nf061223-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T10:05:31.303302Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:31.303302Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","networkRackSku":"fab1","provisioningState":"Failed"}}]}' headers: cache-control: - no-cache content-length: - - '6226' + - '13462' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:51:54 GMT + - Wed, 14 Jun 2023 02:25:54 GMT expires: - '-1' pragma: @@ -87,10 +87,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - f2a646fb-e72f-4d08-81a4-46af5a95ee47 - - 47616aec-73bf-4883-9696-f13f9cd6763c - - ec7d3a08-9fa6-4023-a871-ec076963e6f3 - - 1dffbcd5-094e-47a8-b7cd-65ca2e0f708f + - 63f48323-9f67-43fd-8311-4d426f70e0de + - ad195fd5-d379-463e-a48a-fc05fc7306a8 + - a9861b67-e387-4bb8-9e16-6941b45ceb95 + - 8ed749cc-7cfe-4540-930b-effec2400a2a status: code: 200 message: OK @@ -102,7 +102,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf rack list + - networkfabric rack list Connection: - keep-alive User-Agent: @@ -111,16 +111,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkRacks?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","name":"nfTestD15180423-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:53.6403598Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:53.6403598Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB2"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","name":"nfTestD15180423-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:56.3122706Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:56.3122706Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-MgmtSwitch"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","name":"nfTestD15180423-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:57.9217212Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:57.9217212Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-MgmtSwitch"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","name":"nfa-tool-ts-nf060523-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:21.87467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:12.8172367Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","name":"nfa-tool-ts-nf060523-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.8434406Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.192202Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack3","name":"nfa-tool-ts-nf060523-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:23.2965728Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:23.2965728Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","provisioningState":"Failed"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-aggrack","name":"nfTestD15180423-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:53.6403598Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:53.6403598Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-AggrRack-NPB2"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack1","name":"nfTestD15180423-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:56.3122706Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:56.3122706Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack1-MgmtSwitch"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfTestD15180423-comprack2","name":"nfTestD15180423-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-04-18T10:01:57.9217212Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T10:01:57.9217212Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","networkRackSku":"M4-A400-A100-C16-aa","provisioningState":"Succeeded","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfTestD15180423-CompRack2-MgmtSwitch"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-aggrack","name":"nffab1061323-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-13T12:06:12.4656442Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T15:44:26.1328925Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkfabrics/nffab1061323","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack1","name":"nffab1061323-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-13T12:06:14.8250101Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T15:44:27.5547849Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkfabrics/nffab1061323","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkRacks/nffab1061323-comprack2","name":"nffab1061323-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus2euap","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-13T12:06:16.4343832Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T15:44:28.3360444Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkfabrics/nffab1061323","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkDevices/nffab1061323-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-aggrack","name":"nfa-tool-ts-nf060523-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:21.87467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:12.8172367Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack1","name":"nfa-tool-ts-nf060523-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.4996838Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.0515749Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack2","name":"nfa-tool-ts-nf060523-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:22.8434406Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T09:06:13.192202Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-nf060523-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-nf060523-comprack3","name":"nfa-tool-ts-nf060523-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-05T07:01:23.2965728Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:23.2965728Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","networkRackSku":"fab1","provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-aggrack","name":"nfa-tool-ts-cli-nf1-061223-aggrack","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:45.3972158Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:24.1624224Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-CE2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR17","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-TOR18","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-MgmtSwitch2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-AggrRack-NPB2"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack1","name":"nfa-tool-ts-cli-nf1-061223-comprack1","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:45.8659203Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:24.3030529Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR1","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-TOR2","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack1-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack2","name":"nfa-tool-ts-cli-nf1-061223-comprack2","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:46.2253027Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:24.4593089Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","networkDevices":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR3","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-TOR4","/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkDevices/nfa-tool-ts-cli-nf1-061223-CompRack2-MgmtSwitch"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf1-061223-comprack3","name":"nfa-tool-ts-cli-nf1-061223-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T09:42:46.4909285Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:42:46.4909285Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","networkRackSku":"fab1","provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf061223-comprack3","name":"nfa-tool-ts-cli-nf061223-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T10:03:30.0178203Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:03:30.0178203Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","networkRackSku":"fab1","provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkRacks/nfa-tool-ts-cli-nf061223-comprack3","name":"nfa-tool-ts-cli-nf061223-comprack3","type":"microsoft.managednetworkfabric/networkracks","location":"eastus","systemData":{"createdBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","createdByType":"Application","createdAt":"2023-06-12T10:05:31.303302Z","lastModifiedBy":"a893dadc-5c8e-47f4-8379-6afb34bdbe12","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:31.303302Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","networkRackSku":"fab1","provisioningState":"Failed"}}]}' headers: cache-control: - no-cache content-length: - - '11177' + - '24096' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:51:56 GMT + - Wed, 14 Jun 2023 02:25:56 GMT expires: - '-1' pragma: @@ -132,10 +132,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - a8f354a2-5821-4252-8b83-405f1f8e479d - - 9a511dd0-c163-433c-a6b6-e9ed5d197023 - - b90952ce-824a-4b45-8cbe-b3991f287ece - - f813c8b9-d5ee-49a8-946c-c1d23813c558 + - ce942059-fe2a-47f7-a44d-89c4bc6505d4 + - 17354809-073d-4249-a98a-4078b49340b1 + - 25c8f420-f05a-42f5-ada2-d7f2ecb4447a + - ff24887d-3d75-4e2b-916d-f41edd23f924 status: code: 200 message: OK diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml index 5a50eb282a7..a922dd35bbc 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_externalnetwork_scenario1.yaml @@ -10,7 +10,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork create + - networkfabric externalnetwork create Connection: - keep-alive Content-Length: @@ -23,13 +23,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"annotation":null,"importRoutePolicyId":null,"exportRoutePolicyId":null,"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"bfdConfiguration":null,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31"},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"disabledOnResources":null,"networkToNetworkInterconnectId":null,"administrativeState":"Enabled","provisioningState":"Accepted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","name":"nfa-tool-ts-cli-externalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:47:17.2355165Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:47:17.2355165Z"},"properties":{"annotation":null,"importRoutePolicyId":null,"exportRoutePolicyId":null,"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"bfdConfiguration":null,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31"},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"disabledOnResources":null,"networkToNetworkInterconnectId":null,"administrativeState":"Enabled","provisioningState":"Accepted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -37,13 +37,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:43:29 GMT + - Wed, 14 Jun 2023 02:47:17 GMT etag: - - '"b8059eec-0000-0100-0000-6486f6d10000"' + - '"dd058f69-0000-0100-0000-64892a350000"' expires: - '-1' mise-correlation-id: - - 6dcbda26-1ee1-4c59-8c40-b9e0f4ae6e9e + - 6405b29c-cb28-4005-b884-312acf45e338 pragma: - no-cache strict-transport-security: @@ -53,7 +53,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -65,7 +65,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork create + - networkfabric externalnetwork create Connection: - keep-alive ParameterSetName: @@ -74,10 +74,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Accepted","startTime":"2023-06-12T10:43:29.7031009Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","name":"c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","status":"Accepted","startTime":"2023-06-14T02:47:17.8375616Z"}' headers: cache-control: - no-cache @@ -86,9 +86,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:43:31 GMT + - Wed, 14 Jun 2023 02:47:18 GMT etag: - - '"72030495-0000-0100-0000-6486f6d10000"' + - '"9803b55c-0000-0100-0000-64892a350000"' expires: - '-1' pragma: @@ -112,7 +112,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork create + - networkfabric externalnetwork create Connection: - keep-alive ParameterSetName: @@ -121,21 +121,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"c760ac3c-5428-400e-aa18-966f2f6a9547*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Succeeded","startTime":"2023-06-12T10:43:29.7031009Z","endTime":"2023-06-12T10:43:32.946732Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","name":"c70bfbbd-79e8-401d-a0d5-3f43e0208c45*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","status":"Succeeded","startTime":"2023-06-14T02:47:17.8375616Z","endTime":"2023-06-14T02:47:20.6157292Z","properties":null}' headers: cache-control: - no-cache content-length: - - '735' + - '736' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:01 GMT + - Wed, 14 Jun 2023 02:47:48 GMT etag: - - '"72031c95-0000-0100-0000-6486f6d40000"' + - '"9803b75c-0000-0100-0000-64892a380000"' expires: - '-1' pragma: @@ -159,7 +159,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork create + - networkfabric externalnetwork create Connection: - keep-alive ParameterSetName: @@ -168,10 +168,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","name":"nfa-tool-ts-cli-externalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:47:17.2355165Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:47:17.2355165Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -180,9 +180,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:01 GMT + - Wed, 14 Jun 2023 02:47:49 GMT etag: - - '"b805b9ec-0000-0100-0000-6486f6d50000"' + - '"dd05be69-0000-0100-0000-64892a380000"' expires: - '-1' pragma: @@ -208,7 +208,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork show + - networkfabric externalnetwork show Connection: - keep-alive ParameterSetName: @@ -216,10 +216,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","name":"nfa-tool-ts-cli-externalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:47:17.2355165Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:47:17.2355165Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -228,9 +228,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:05 GMT + - Wed, 14 Jun 2023 02:47:50 GMT etag: - - '"b805b9ec-0000-0100-0000-6486f6d50000"' + - '"dd05be69-0000-0100-0000-64892a380000"' expires: - '-1' pragma: @@ -256,7 +256,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork list + - networkfabric externalnetwork list Connection: - keep-alive ParameterSetName: @@ -267,7 +267,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","name":"nfa-tool-ts-cli-externalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:43:28.1608329Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:43:28.1608329Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","name":"nfa-tool-ts-cli-externalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/externalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:47:17.2355165Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:47:17.2355165Z"},"properties":{"peeringOption":"OptionB","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":65234,"primaryIpv4Prefix":"172.23.1.0/31","secondaryIpv4Prefix":"172.23.1.2/31","fabricASN":20},"optionBProperties":{"importRouteTargets":["65541:2001"],"exportRouteTargets":["65531:2001"]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -276,7 +276,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:08 GMT + - Wed, 14 Jun 2023 02:47:52 GMT expires: - '-1' pragma: @@ -302,7 +302,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork delete + - networkfabric externalnetwork delete Connection: - keep-alive Content-Length: @@ -312,13 +312,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -326,15 +326,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:44:09 GMT + - Wed, 14 Jun 2023 02:47:54 GMT etag: - - '"b8054bee-0000-0100-0000-6486f6fa0000"' + - '"dd05d96b-0000-0100-0000-64892a5a0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview mise-correlation-id: - - a0b7b866-a505-46c5-94cd-735642512fad + - dc2c451c-21c9-4c38-ba2b-99c311f037ea pragma: - no-cache strict-transport-security: @@ -356,7 +356,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork delete + - networkfabric externalnetwork delete Connection: - keep-alive ParameterSetName: @@ -364,399 +364,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","name":"1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","status":"Succeeded","startTime":"2023-06-14T02:47:54.3044856Z","endTime":"2023-06-14T02:47:54.7412168Z","properties":null}' headers: cache-control: - no-cache content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:44:10 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:44:41 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:45:11 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:45:42 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:46:24 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:46:54 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:47:25 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:47:55 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Deleting","startTime":"2023-06-12T10:44:10.6571353Z"}' - headers: - cache-control: - - no-cache - content-length: - - '676' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:48:26 GMT - etag: - - '"7203c296-0000-0100-0000-6486f6fa0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf externalnetwork delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --l3domain --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Succeeded","startTime":"2023-06-12T10:44:10.6571353Z","endTime":"2023-06-12T10:48:39.902338Z","properties":null}' - headers: - cache-control: - - no-cache - content-length: - - '735' + - '736' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:58 GMT + - Wed, 14 Jun 2023 02:47:55 GMT etag: - - '"7203299d-0000-0100-0000-6486f8070000"' + - '"9803f05e-0000-0100-0000-64892a5a0000"' expires: - '-1' pragma: @@ -780,7 +402,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf externalnetwork delete + - networkfabric externalnetwork delete Connection: - keep-alive ParameterSetName: @@ -788,21 +410,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","name":"bbf9edb9-e00c-4a70-adde-9e39854596e4*022E89A12FDDBB9D8B07AE1F3E72C56A1F36D1DDF6CC27EE6ADBDA83AF6548D0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061223","status":"Succeeded","startTime":"2023-06-12T10:44:10.6571353Z","endTime":"2023-06-12T10:48:39.902338Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","name":"1770998f-255b-4548-a195-67a104a57d9a*B8936469377DCF712EBF1B54EF566E983F05FB70DBE8D83E4988B9B1DBB1AD1E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/externalNetworks/nfa-tool-ts-cli-externalnetwork061423","status":"Succeeded","startTime":"2023-06-14T02:47:54.3044856Z","endTime":"2023-06-14T02:47:54.7412168Z","properties":null}' headers: cache-control: - no-cache content-length: - - '735' + - '736' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:58 GMT + - Wed, 14 Jun 2023 02:47:55 GMT etag: - - '"7203299d-0000-0100-0000-6486f8070000"' + - '"9803f05e-0000-0100-0000-64892a5a0000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml index 81add486eff..0a9bd23b5d1 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_internalnetwork_scenario1.yaml @@ -13,7 +13,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork create + - networkfabric internalnetwork create Connection: - keep-alive Content-Length: @@ -27,27 +27,27 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","name":"nfa-tool-ts-cli-internalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:55:47.2834518Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:12:26.4838806Z"},"properties":{"annotation":null,"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24","annotation":null}],"connectedIPv6Subnets":[{"prefix":"2fff::/59","annotation":null}],"staticRouteConfiguration":{"bfdConfiguration":null,"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"bfdConfiguration":null,"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv6ListenRangePrefixes":null,"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}],"ipv6NeighborAddress":null,"annotation":null},"importRoutePolicyId":null,"exportRoutePolicyId":null,"disabledOnResources":null,"bgpDisabledOnResources":null,"bfdDisabledOnResources":null,"bfdForStaticRoutesDisabledOnResources":null,"administrativeState":"Enabled","provisioningState":"Accepted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423","name":"nfa-tool-ts-cli-internalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:46:55.4079717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:46:55.4079717Z"},"properties":{"annotation":null,"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24","annotation":null}],"connectedIPv6Subnets":[{"prefix":"2fff::/59","annotation":null}],"staticRouteConfiguration":{"bfdConfiguration":null,"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"bfdConfiguration":null,"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":null,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv6ListenRangePrefixes":null,"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}],"ipv6NeighborAddress":null,"annotation":null},"importRoutePolicyId":null,"exportRoutePolicyId":null,"disabledOnResources":null,"bgpDisabledOnResources":null,"bfdDisabledOnResources":null,"bfdForStaticRoutesDisabledOnResources":null,"administrativeState":"Enabled","provisioningState":"Accepted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/cfeb8454-004f-4087-9e9e-aeb33cf46176*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/04431658-abac-4e0a-a601-cfa252a5503b*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90?api-version=2023-02-01-preview cache-control: - no-cache content-length: - - '1581' + - '1583' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:27 GMT + - Wed, 14 Jun 2023 02:46:57 GMT etag: - - '"570888ce-0000-0100-0000-6486fd9c0000"' + - '"b2089ae3-0000-0100-0000-64892a210000"' expires: - '-1' mise-correlation-id: - - 0603c0d5-4a8f-44cc-b889-1785d37ab558 + - 3373e8f1-29d0-4561-9515-3e0a95ccaf22 pragma: - no-cache strict-transport-security: @@ -57,7 +57,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -69,7 +69,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork show + - networkfabric internalnetwork show Connection: - keep-alive ParameterSetName: @@ -77,10 +77,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","name":"nfa-tool-ts-cli-internalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:55:47.2834518Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:12:26.4838806Z"},"properties":{"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24"}],"connectedIPv6Subnets":[{"prefix":"2fff::/59"}],"staticRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423","name":"nfa-tool-ts-cli-internalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:46:55.4079717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:46:55.4079717Z"},"properties":{"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24"}],"connectedIPv6Subnets":[{"prefix":"2fff::/59"}],"staticRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -89,9 +89,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:30 GMT + - Wed, 14 Jun 2023 02:46:58 GMT etag: - - '"57089bce-0000-0100-0000-6486fd9c0000"' + - '"b208a8e3-0000-0100-0000-64892a220000"' expires: - '-1' pragma: @@ -117,7 +117,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork list + - networkfabric internalnetwork list Connection: - keep-alive ParameterSetName: @@ -128,7 +128,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","name":"nfa-tool-ts-cli-internalnetwork061223","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:55:47.2834518Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:12:26.4838806Z"},"properties":{"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24"}],"connectedIPv6Subnets":[{"prefix":"2fff::/59"}],"staticRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423","name":"nfa-tool-ts-cli-internalnetwork061423","type":"microsoft.managednetworkfabric/l3isolationdomains/internalnetworks","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:46:55.4079717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:46:55.4079717Z"},"properties":{"vlanId":2600,"mtu":1500,"connectedIPv4Subnets":[{"prefix":"10.1.1.1/24"}],"connectedIPv6Subnets":[{"prefix":"2fff::/59"}],"staticRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28","nextHop":["10.0.1.1"]}],"ipv6Routes":[{"prefix":"2fff::/59","nextHop":["3fff::"]}]},"bgpConfiguration":{"defaultRouteOriginate":"True","allowAS":2,"allowASOverride":"Enable","fabricASN":20,"peerASN":65535,"ipv4ListenRangePrefixes":["10.1.1.0/28"],"ipv4NeighborAddress":[{"address":"10.1.1.0","operationalState":"Disabled"}]},"administrativeState":"Enabled","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -137,7 +137,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:31 GMT + - Wed, 14 Jun 2023 02:47:00 GMT expires: - '-1' pragma: @@ -163,7 +163,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork delete + - networkfabric internalnetwork delete Connection: - keep-alive Content-Length: @@ -173,13 +173,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -187,15 +187,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:37 GMT + - Wed, 14 Jun 2023 02:47:03 GMT etag: - - '"570839cf-0000-0100-0000-6486fda50000"' + - '"b208f6e3-0000-0100-0000-64892a270000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90?api-version=2023-02-01-preview mise-correlation-id: - - d7bbf6fa-ca5d-4703-9045-7fc745421464 + - ecf49052-14f0-4b4c-a83e-54ec51a9a9ec pragma: - no-cache strict-transport-security: @@ -205,7 +205,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -217,7 +217,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork delete + - networkfabric internalnetwork delete Connection: - keep-alive ParameterSetName: @@ -225,10 +225,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","name":"faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","status":"Deleting","startTime":"2023-06-12T11:12:37.1162267Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90","name":"e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423","status":"Deleting","startTime":"2023-06-14T02:47:03.2108319Z"}' headers: cache-control: - no-cache @@ -237,9 +237,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:38 GMT + - Wed, 14 Jun 2023 02:47:04 GMT etag: - - '"7303fc06-0000-0100-0000-6486fda50000"' + - '"9803995c-0000-0100-0000-64892a270000"' expires: - '-1' pragma: @@ -259,7 +259,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork delete + - networkfabric internalnetwork delete Connection: - keep-alive ParameterSetName: @@ -267,21 +267,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","name":"faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","status":"Succeeded","startTime":"2023-06-12T11:12:37.1162267Z","endTime":"2023-06-12T11:12:39.6023847Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90","name":"e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423","status":"Succeeded","startTime":"2023-06-14T02:47:03.2108319Z","endTime":"2023-06-14T02:47:05.731778Z","properties":null}' headers: cache-control: - no-cache content-length: - - '736' + - '735' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:13:08 GMT + - Wed, 14 Jun 2023 02:47:34 GMT etag: - - '"73036607-0000-0100-0000-6486fda70000"' + - '"9803a25c-0000-0100-0000-64892a290000"' expires: - '-1' pragma: @@ -305,7 +305,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf internalnetwork delete + - networkfabric internalnetwork delete Connection: - keep-alive ParameterSetName: @@ -313,21 +313,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","name":"faab83d7-4ffa-4ae6-9b57-32443e727dfb*DB78C91135EEF264C2834DDA22D38EBAFE24EB8885AAEA6FFF2D66A488CF9D4D","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061223","status":"Succeeded","startTime":"2023-06-12T11:12:37.1162267Z","endTime":"2023-06-12T11:12:39.6023847Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90","name":"e8b5c6d3-127a-498a-9ceb-0e936f5f6700*EC12B68F1844CC1BBFABE56D24D2F348B87929F1FD252DB0D540E6E3E9B69D90","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223/internalNetworks/nfa-tool-ts-cli-internalnetwork061423","status":"Succeeded","startTime":"2023-06-14T02:47:03.2108319Z","endTime":"2023-06-14T02:47:05.731778Z","properties":null}' headers: cache-control: - no-cache content-length: - - '736' + - '735' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:13:08 GMT + - Wed, 14 Jun 2023 02:47:34 GMT etag: - - '"73036607-0000-0100-0000-6486fda70000"' + - '"9803a25c-0000-0100-0000-64892a290000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml index 7380a1e433e..1ce2ad5cf3c 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipcommunity_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipcommunity create + - networkfabric ipcommunity create Connection: - keep-alive ParameterSetName: @@ -124,7 +124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:40 GMT + - Wed, 14 Jun 2023 02:19:08 GMT expires: - '-1' pragma: @@ -147,7 +147,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipcommunity create + - networkfabric ipcommunity create Connection: - keep-alive Content-Length: @@ -160,10 +160,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423","name":"nfa-tool-ts-cli-ipcommunity061423","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:13.7467102Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:13.7467102Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}' headers: cache-control: - no-cache @@ -172,13 +172,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:46 GMT + - Wed, 14 Jun 2023 02:19:15 GMT etag: - - '"f402518a-0000-0100-0000-6486c8f10000"' + - '"190317e3-0000-0100-0000-648923a20000"' expires: - '-1' mise-correlation-id: - - 2ba855b4-ca19-4c50-bd2e-a208e9d196c1 + - 6cddb279-1449-48a1-9386-b2d55f63b0ff pragma: - no-cache strict-transport-security: @@ -204,7 +204,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipcommunity show + - networkfabric ipcommunity show Connection: - keep-alive ParameterSetName: @@ -212,10 +212,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423","name":"nfa-tool-ts-cli-ipcommunity061423","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:13.7467102Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:13.7467102Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:48 GMT + - Wed, 14 Jun 2023 02:19:19 GMT etag: - - '"f402518a-0000-0100-0000-6486c8f10000"' + - '"190317e3-0000-0100-0000-648923a20000"' expires: - '-1' pragma: @@ -252,7 +252,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipcommunity list + - networkfabric ipcommunity list Connection: - keep-alive User-Agent: @@ -261,16 +261,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/ipCommunities?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223","name":"nfa-tool-ts-cli-ipcommunity1-061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:15.2138953Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:12:15.2138953Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["100:200","101:201"],"provisioningState":"Succeeded","annotation":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipcommunityinternalexport","name":"ipcommunityinternalexport","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:40:36.8275492Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T17:42:20.4575383Z"},"properties":{"action":"Permit","wellKnownCommunities":["Internet","LocalAS","GShut"],"communityMembers":["65048:20050"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipcommunityinternalimport","name":"ipcommunityinternalimport","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:43:37.3695554Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T17:53:11.8688461Z"},"properties":{"action":"Permit","wellKnownCommunities":["Internet","LocalAS","GShut"],"communityMembers":["65048:20030"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223","name":"nfa-tool-ts-cli-ipcommunity1-061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:15.2138953Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T07:41:36.932096Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["100:200","101:201"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423","name":"nfa-tool-ts-cli-ipcommunity061423","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:13.7467102Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:13.7467102Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}]}' headers: cache-control: - no-cache content-length: - - '1466' + - '2858' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:50 GMT + - Wed, 14 Jun 2023 02:19:19 GMT expires: - '-1' pragma: @@ -282,10 +282,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 17410415-2ae4-4157-9a8e-fcf2a29c92f1 - - ba5b521e-b843-43e7-8002-3728da655778 - - ec1e63f7-6b09-4707-9022-ed3423e687a9 - - 5573d0f5-d077-4773-abbd-ccb98b617e87 + - 5c70741b-ddd4-4dcd-9064-ecaa1fd2eaab + - 4b3b60d0-25e2-48d2-b43b-10f5301a0086 + - 42ecb827-aa4b-4384-a4a9-327900015ab1 + - d03418ca-97fd-48c4-838a-5b5e9f44e35b status: code: 200 message: OK @@ -297,7 +297,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipcommunity list + - networkfabric ipcommunity list Connection: - keep-alive ParameterSetName: @@ -308,7 +308,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223","name":"nfa-tool-ts-cli-ipcommunity061223","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:44.6278454Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:44.6278454Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423","name":"nfa-tool-ts-cli-ipcommunity061423","type":"microsoft.managednetworkfabric/ipcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:13.7467102Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:13.7467102Z"},"properties":{"action":"Deny","wellKnownCommunities":["LocalAS","GShut"],"communityMembers":["101:200","101:201"],"provisioningState":"Succeeded","annotation":null}}]}' headers: cache-control: - no-cache @@ -317,7 +317,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:51 GMT + - Wed, 14 Jun 2023 02:19:22 GMT expires: - '-1' pragma: @@ -329,10 +329,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 72b9b0ac-526a-4d99-ba17-f447a3899b53 - - d4b166e5-ff21-4a96-a551-d9285f8a7f0c - - 34c7050b-9566-4ebc-88fa-76fc74a21573 - - 14585cf2-a6d2-48d6-a3e3-a0db7bab0bd4 + - d44cf8ed-8265-4302-8c70-955c3845dd17 + - 9909b4f6-38c8-477d-8b72-f96d09f6f95c + - a21fb145-c51b-472e-92be-f5926ad1b6cc + - c39c9395-9ef4-4c17-8232-0c44a1a2ddf0 status: code: 200 message: OK @@ -344,7 +344,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipcommunity delete + - networkfabric ipcommunity delete Connection: - keep-alive Content-Length: @@ -354,7 +354,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity061423?api-version=2023-02-01-preview response: body: string: '' @@ -364,11 +364,11 @@ interactions: content-length: - '0' date: - - Mon, 12 Jun 2023 07:27:57 GMT + - Wed, 14 Jun 2023 02:19:26 GMT expires: - '-1' mise-correlation-id: - - a40db826-5388-40de-a0d5-870733c281de + - 100f6b5e-550b-4c8c-9c42-4810cfa3ccc5 pragma: - no-cache strict-transport-security: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml index 121282c7e91..0ebf4b9ff22 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipextendedcommunity_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipextendedcommunity create + - networkfabric ipextendedcommunity create Connection: - keep-alive ParameterSetName: @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:45 GMT + - Wed, 14 Jun 2023 02:19:10 GMT expires: - '-1' pragma: @@ -146,7 +146,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipextendedcommunity create + - networkfabric ipextendedcommunity create Connection: - keep-alive Content-Length: @@ -158,10 +158,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423","name":"nfa-tool-ts-cli-ipextcommunity061423","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:16.1299414Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:16.1299414Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}' headers: cache-control: - no-cache @@ -170,13 +170,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:52 GMT + - Wed, 14 Jun 2023 02:19:18 GMT etag: - - '"5a033344-0000-0100-0000-6486c8f70000"' + - '"5d037bb9-0000-0100-0000-648923a50000"' expires: - '-1' mise-correlation-id: - - e1059ba8-55ab-4e47-877c-f9d8791cbdd0 + - d00f87bc-f58b-4667-a69d-71f295de3521 pragma: - no-cache strict-transport-security: @@ -202,7 +202,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipextendedcommunity show + - networkfabric ipextendedcommunity show Connection: - keep-alive ParameterSetName: @@ -210,10 +210,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423","name":"nfa-tool-ts-cli-ipextcommunity061423","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:16.1299414Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:16.1299414Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}' headers: cache-control: - no-cache @@ -222,9 +222,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:54 GMT + - Wed, 14 Jun 2023 02:19:19 GMT etag: - - '"5a033344-0000-0100-0000-6486c8f70000"' + - '"5d037bb9-0000-0100-0000-648923a50000"' expires: - '-1' pragma: @@ -250,7 +250,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipextendedcommunity list + - networkfabric ipextendedcommunity list Connection: - keep-alive User-Agent: @@ -259,16 +259,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223","name":"nfa-tool-ts-cli-ipextcommunity1-061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:11.9881136Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:12:11.9881136Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223","name":"nfa-tool-ts-cli-ipextcommunity1-061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:11.9881136Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:19:19.8195482Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423","name":"nfa-tool-ts-cli-ipextcommunity061423","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:16.1299414Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:16.1299414Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}]}' headers: cache-control: - no-cache content-length: - - '1420' + - '1419' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:55 GMT + - Wed, 14 Jun 2023 02:19:20 GMT expires: - '-1' pragma: @@ -280,10 +280,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 64bb6c1b-6936-4ded-b679-8fee5401454c - - 010d2293-7b0c-41f5-a53b-4082046a398e - - deb00add-bd5a-4e77-b69d-a7969a0407f3 - - 9cb78202-0b1f-4809-b336-84238ad8ea89 + - f54e41ea-97fb-410e-95b6-62a60a825e89 + - 677b65cd-6196-42da-b385-0117263dd21b + - 50c3c554-3bff-448a-934c-48073e2ec24a + - 686864d1-39cb-4c77-b8bb-b1c3d8ff0933 status: code: 200 message: OK @@ -295,7 +295,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipextendedcommunity list + - networkfabric ipextendedcommunity list Connection: - keep-alive ParameterSetName: @@ -306,7 +306,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223","name":"nfa-tool-ts-cli-ipextcommunity061223","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:50.0000904Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:50.0000904Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423","name":"nfa-tool-ts-cli-ipextcommunity061423","type":"microsoft.managednetworkfabric/ipextendedcommunities","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:16.1299414Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:16.1299414Z"},"properties":{"action":"Deny","routeTargets":["1024:219","1001:200"],"provisioningState":"Succeeded","annotation":null}}]}' headers: cache-control: - no-cache @@ -315,7 +315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:56 GMT + - Wed, 14 Jun 2023 02:19:21 GMT expires: - '-1' pragma: @@ -327,10 +327,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - f67d04dd-54dc-468b-a055-79b346fa0d43 - - c3c20bd2-bd06-402a-92f5-9a01058fe5ae - - 9b27acfb-41e8-4c4c-b191-9478f4372057 - - 18fb10da-fb8d-4dc2-8f48-67341c122b52 + - 167436ba-43ab-42cc-afa9-5c2eb64efe25 + - 90bfc08d-bc27-4717-a465-a41e92724ab7 + - c7b84492-936d-4db1-9355-af7ec0ddc3b4 + - 18a1837d-e899-4d22-9143-ebb7f045856d status: code: 200 message: OK @@ -342,7 +342,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipextendedcommunity delete + - networkfabric ipextendedcommunity delete Connection: - keep-alive Content-Length: @@ -352,7 +352,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity061423?api-version=2023-02-01-preview response: body: string: '' @@ -362,11 +362,11 @@ interactions: content-length: - '0' date: - - Mon, 12 Jun 2023 07:28:00 GMT + - Wed, 14 Jun 2023 02:19:24 GMT expires: - '-1' mise-correlation-id: - - d6af2543-9c50-4196-9105-b297d9282493 + - 554bff15-ada9-4ad5-8ef2-99bc96a996e2 pragma: - no-cache strict-transport-security: @@ -376,7 +376,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml index 9487e6636fe..da9ec61bf6d 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_ipprefix_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipprefix create + - networkfabric ipprefix create Connection: - keep-alive ParameterSetName: @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:40 GMT + - Wed, 14 Jun 2023 02:19:05 GMT expires: - '-1' pragma: @@ -147,7 +147,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipprefix create + - networkfabric ipprefix create Connection: - keep-alive Content-Length: @@ -159,10 +159,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423","name":"nfa-tool-ts-cli-ipprefix061423","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:10.5116474Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:10.5116474Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}' headers: cache-control: - no-cache @@ -171,13 +171,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:47 GMT + - Wed, 14 Jun 2023 02:19:12 GMT etag: - - '"f109ce17-0000-0100-0000-6486c8f20000"' + - '"5b0b517e-0000-0100-0000-6489239f0000"' expires: - '-1' mise-correlation-id: - - 9a1101bc-5f8a-4b25-9c24-c9aa2c4ab603 + - 2ccc8904-4711-40db-9e4a-e742cacd66e0 pragma: - no-cache strict-transport-security: @@ -203,7 +203,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipprefix show + - networkfabric ipprefix show Connection: - keep-alive ParameterSetName: @@ -211,10 +211,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423","name":"nfa-tool-ts-cli-ipprefix061423","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:10.5116474Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:10.5116474Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}' headers: cache-control: - no-cache @@ -223,9 +223,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:49 GMT + - Wed, 14 Jun 2023 02:19:14 GMT etag: - - '"f109ce17-0000-0100-0000-6486c8f20000"' + - '"5b0b517e-0000-0100-0000-6489239f0000"' expires: - '-1' pragma: @@ -251,7 +251,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipprefix list + - networkfabric ipprefix list Connection: - keep-alive User-Agent: @@ -260,16 +260,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/ipPrefixes?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223","name":"nfa-tool-ts-cli-ipprefix1-061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:57.3440245Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:12:57.3440245Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":1234,"networkPrefix":"1.1.10.10/20","condition":"EqualTo","subnetMaskLength":25}],"provisioningState":"Succeeded","annotation":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/ipprefixv4internalnetwork1export","name":"ipprefixv4internalnetwork1export","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:39:58.7873258Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T17:42:21.0825226Z"},"properties":{"ipPrefixRules":[{"action":"Deny","sequenceNumber":10,"networkPrefix":"10.2.36.0/28","condition":"EqualTo","subnetMaskLength":28},{"action":"Permit","sequenceNumber":12,"networkPrefix":"10.2.38.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/ipprefixv4internalnetwork1import","name":"ipprefixv4internalnetwork1import","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:43:12.5580655Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T17:53:12.5563511Z"},"properties":{"ipPrefixRules":[{"action":"Deny","sequenceNumber":10,"networkPrefix":"10.2.39.0/24","condition":"EqualTo","subnetMaskLength":24},{"action":"Permit","sequenceNumber":12,"networkPrefix":"10.2.40.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223","name":"nfa-tool-ts-cli-ipprefix1-061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:12:57.3440245Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T07:41:37.0570622Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":1234,"networkPrefix":"1.1.10.10/20","condition":"EqualTo","subnetMaskLength":25}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423","name":"nfa-tool-ts-cli-ipprefix061423","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:10.5116474Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:10.5116474Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}]}' headers: cache-control: - no-cache content-length: - - '1511' + - '3198' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:51 GMT + - Wed, 14 Jun 2023 02:19:16 GMT expires: - '-1' pragma: @@ -281,10 +281,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - dbac1015-f71f-41b9-b7e2-236f748c4de9 - - 75cc9b08-2a11-478e-9063-3eef0a96a93a - - af0c27c9-0257-4a00-a92c-2530d4674ca7 - - f3990591-9193-41cb-9724-c7826e25ac4d + - 41b58a1f-3212-45e3-aed9-a23ce979ec6a + - 72f58113-2332-45ed-84f9-b4e0879e6eff + - 832b0b9a-0559-42d6-8095-1caa539bf6ea + - 875394df-7998-4873-bad3-78d851607475 status: code: 200 message: OK @@ -296,7 +296,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipprefix list + - networkfabric ipprefix list Connection: - keep-alive ParameterSetName: @@ -307,7 +307,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223","name":"nfa-tool-ts-cli-ipprefix061223","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:27:45.7076266Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:27:45.7076266Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423","name":"nfa-tool-ts-cli-ipprefix061423","type":"microsoft.managednetworkfabric/ipprefixes","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:10.5116474Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:10.5116474Z"},"properties":{"ipPrefixRules":[{"action":"Permit","sequenceNumber":10,"networkPrefix":"10.12.14.0/24","condition":"EqualTo","subnetMaskLength":24}],"provisioningState":"Succeeded","annotation":null}}]}' headers: cache-control: - no-cache @@ -316,7 +316,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:27:53 GMT + - Wed, 14 Jun 2023 02:19:18 GMT expires: - '-1' pragma: @@ -328,10 +328,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 1135bcc6-8f0c-4a1d-b6d4-ff7604b19073 - - 8e8cb988-893f-4f02-b805-f37b29f65854 - - 2b7f54fd-13cd-4940-8260-a384f5df94e6 - - 87372ca8-d96e-413b-a806-ab1b20abbb54 + - 3c952dca-b6ef-46d2-b8df-58517f0e3222 + - 53514860-233d-4cc3-a005-669ba81ce409 + - c792a3af-62c6-4d6f-8ee0-13ae6192ddbf + - 5c09c302-4008-43ca-ae23-089e695d0a92 status: code: 200 message: OK @@ -343,7 +343,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf ipprefix delete + - networkfabric ipprefix delete Connection: - keep-alive Content-Length: @@ -353,7 +353,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix061423?api-version=2023-02-01-preview response: body: string: '' @@ -363,11 +363,11 @@ interactions: content-length: - '0' date: - - Mon, 12 Jun 2023 07:27:59 GMT + - Wed, 14 Jun 2023 02:19:22 GMT expires: - '-1' mise-correlation-id: - - b10b7e29-85c9-433c-8339-7698d5f583c8 + - 0a643b65-1dc1-447f-8b9e-80b8ad1a51fc pragma: - no-cache strict-transport-security: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml index 9cffa40918d..1aa47b475a5 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l2domain_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive ParameterSetName: @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:46:40 GMT + - Wed, 14 Jun 2023 02:29:01 GMT expires: - '-1' pragma: @@ -146,7 +146,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive Content-Length: @@ -158,13 +158,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:46:46.1530583Z"},"properties":{"provisioningState":"Accepted","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","name":"nfa-tool-ts-cli-l2domain1-061423","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:29:06.0954467Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:29:06.0954467Z"},"properties":{"provisioningState":"Accepted","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -172,13 +172,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:46:48 GMT + - Wed, 14 Jun 2023 02:29:08 GMT etag: - - '"790eea35-0000-0100-0000-6486f7970000"' + - '"b20ea4f4-0000-0100-0000-648925f30000"' expires: - '-1' mise-correlation-id: - - e232eb88-5310-40a9-90a4-c908167fe5d5 + - 63f1e2ef-c864-4da6-a5be-4fce0b0ad6e3 pragma: - no-cache strict-transport-security: @@ -200,7 +200,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive ParameterSetName: @@ -208,10 +208,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Accepted","startTime":"2023-06-14T02:29:07.1830312Z"}' headers: cache-control: - no-cache @@ -220,9 +220,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:46:49 GMT + - Wed, 14 Jun 2023 02:29:08 GMT etag: - - '"72030a9c-0000-0100-0000-6486f7970000"' + - '"98038b3d-0000-0100-0000-648925f30000"' expires: - '-1' pragma: @@ -246,7 +246,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive ParameterSetName: @@ -254,10 +254,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Accepted","startTime":"2023-06-14T02:29:07.1830312Z"}' headers: cache-control: - no-cache @@ -266,9 +266,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:47:19 GMT + - Wed, 14 Jun 2023 02:29:38 GMT etag: - - '"72030a9c-0000-0100-0000-6486f7970000"' + - '"98038b3d-0000-0100-0000-648925f30000"' expires: - '-1' pragma: @@ -292,7 +292,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive ParameterSetName: @@ -300,10 +300,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Accepted","startTime":"2023-06-14T02:29:07.1830312Z"}' headers: cache-control: - no-cache @@ -312,9 +312,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:47:50 GMT + - Wed, 14 Jun 2023 02:30:09 GMT etag: - - '"72030a9c-0000-0100-0000-6486f7970000"' + - '"98038b3d-0000-0100-0000-648925f30000"' expires: - '-1' pragma: @@ -338,7 +338,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive ParameterSetName: @@ -346,21 +346,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Accepted","startTime":"2023-06-12T10:46:47.1743313Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"9d4e52ab-548a-4f48-995b-285e302a639e*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Succeeded","startTime":"2023-06-14T02:29:07.1830312Z","endTime":"2023-06-14T02:30:23.3302462Z","properties":null}' headers: cache-control: - no-cache content-length: - - '621' + - '681' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:20 GMT + - Wed, 14 Jun 2023 02:30:39 GMT etag: - - '"72030a9c-0000-0100-0000-6486f7970000"' + - '"9803b741-0000-0100-0000-6489263f0000"' expires: - '-1' pragma: @@ -384,7 +384,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain create + - networkfabric l2domain create Connection: - keep-alive ParameterSetName: @@ -392,67 +392,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"60724df5-59aa-4bc2-97ce-695aa4383ca7*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Succeeded","startTime":"2023-06-12T10:46:47.1743313Z","endTime":"2023-06-12T10:48:40.470201Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","name":"nfa-tool-ts-cli-l2domain1-061423","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:29:06.0954467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:30:23.5917732Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' headers: cache-control: - no-cache content-length: - - '680' + - '886' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:50 GMT + - Wed, 14 Jun 2023 02:30:41 GMT etag: - - '"72032b9d-0000-0100-0000-6486f8080000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf l2domain create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --resource-name --location --nf-id --vlan-id - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' - headers: - cache-control: - - no-cache - content-length: - - '885' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 10:48:51 GMT - etag: - - '"790ee43b-0000-0100-0000-6486f8090000"' + - '"b20ed4fb-0000-0100-0000-6489263f0000"' expires: - '-1' pragma: @@ -478,7 +432,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain show + - networkfabric l2domain show Connection: - keep-alive ParameterSetName: @@ -486,21 +440,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","name":"nfa-tool-ts-cli-l2domain1-061423","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:29:06.0954467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:30:23.5917732Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}' headers: cache-control: - no-cache content-length: - - '885' + - '886' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:53 GMT + - Wed, 14 Jun 2023 02:30:42 GMT etag: - - '"790ee43b-0000-0100-0000-6486f8090000"' + - '"b20ed4fb-0000-0100-0000-6489263f0000"' expires: - '-1' pragma: @@ -526,7 +480,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain list + - networkfabric l2domain list Connection: - keep-alive User-Agent: @@ -535,16 +489,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2isd0613","name":"l2isd0613","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T16:45:48.9685191Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T16:48:21.339616Z"},"properties":{"provisioningState":"Succeeded","vlanId":900,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nffab1061323","administrativeState":"Enabled"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","name":"nfa-tool-ts-cli-l2domain1-061423","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:29:06.0954467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:30:23.5917732Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}]}' headers: cache-control: - no-cache content-length: - - '897' + - '1692' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:54 GMT + - Wed, 14 Jun 2023 02:30:44 GMT expires: - '-1' pragma: @@ -556,10 +510,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - ab47e0a1-fdf7-4bd9-b97a-8eca911db2aa - - e121f69d-9589-4d04-9d50-1c973b2e8ad6 - - 47df1390-45dc-4319-b6a7-71a95e4e23c6 - - cb47bef2-7fdb-4580-862e-145a369afa16 + - 18b56fad-930c-4d2f-9277-6fccc55c0ae9 + - ce46a6c0-e3d9-4fff-8782-7bb38171c607 + - de5f21f9-41f5-4fb8-a67f-b2bd4baa7b2a + - 059d9763-300f-4048-85fd-8f3d159883ec status: code: 200 message: OK @@ -571,7 +525,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain list + - networkfabric l2domain list Connection: - keep-alive ParameterSetName: @@ -582,16 +536,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","name":"nfa-tool-ts-cli-l2domain1-061223","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:46:46.1530583Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:48:40.865225Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","name":"nfa-tool-ts-cli-l2domain1-061423","type":"microsoft.managednetworkfabric/l2isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:29:06.0954467Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:30:23.5917732Z"},"properties":{"provisioningState":"Succeeded","vlanId":524,"mtu":1500,"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","administrativeState":"Disabled"}}]}' headers: cache-control: - no-cache content-length: - - '897' + - '898' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:56 GMT + - Wed, 14 Jun 2023 02:30:45 GMT expires: - '-1' pragma: @@ -603,10 +557,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 5f59228d-bbba-4784-94e5-7386c8e6339c - - 636b7082-290c-48a3-8c67-6775eb503ec3 - - 21eb35af-b20d-4a2d-9e64-1e4f715729c2 - - 60e9ce46-587e-4130-958e-9abe5094401a + - d8dad407-a273-40a7-a8bb-d0c47fe9a38c + - 02caf1b6-f831-45f7-890b-1ed414981b0c + - 0d083550-ff4d-4f0b-8072-6062a8370e5b + - 89f68b32-971c-4f8d-92fc-38e6761e57b7 status: code: 200 message: OK @@ -618,7 +572,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain update-admin-state + - networkfabric l2domain update-admin-state Connection: - keep-alive Content-Length: @@ -630,13 +584,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223/updateAdministrativeState?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423/updateAdministrativeState?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d59be579-7105-4d8c-bcd8-9a9ab3d91b06*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/321a80e6-a740-49a6-b032-58e2d7ee56e9*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -644,13 +598,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:57 GMT + - Wed, 14 Jun 2023 02:30:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/d59be579-7105-4d8c-bcd8-9a9ab3d91b06*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/321a80e6-a740-49a6-b032-58e2d7ee56e9*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview mise-correlation-id: - - 73f1e9c8-e518-4570-84a4-aade4444fd5b + - 71fc1c06-f74f-4cd3-8bb9-0b94ed948315 pragma: - no-cache strict-transport-security: @@ -672,7 +626,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain update-admin-state + - networkfabric l2domain update-admin-state Connection: - keep-alive Content-Length: @@ -684,13 +638,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223/updateAdministrativeState?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423/updateAdministrativeState?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/6b028d6d-66c0-4f83-967b-7f115a1deb60*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/93ef4aa4-d305-4935-a7f3-22a7221e81d9*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -698,13 +652,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:48:59 GMT + - Wed, 14 Jun 2023 02:30:49 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/6b028d6d-66c0-4f83-967b-7f115a1deb60*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/93ef4aa4-d305-4935-a7f3-22a7221e81d9*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview mise-correlation-id: - - bd0245d7-a6cd-4ba2-918c-160a7011dd28 + - df14b4d7-5665-4f5e-a6ef-3ba391444ce5 pragma: - no-cache strict-transport-security: @@ -726,7 +680,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive Content-Length: @@ -736,13 +690,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -750,15 +704,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:49:01 GMT + - Wed, 14 Jun 2023 02:30:50 GMT etag: - - '"790ee93f-0000-0100-0000-6486f81d0000"' + - '"b20ee2fd-0000-0100-0000-6489265a0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview mise-correlation-id: - - a27b43f7-a38a-45e5-b9d1-ad7a3c04ce88 + - 556e9926-a04c-4d43-86ae-883331f0d276 pragma: - no-cache strict-transport-security: @@ -768,7 +722,385 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:30:51 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:31:23 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:31:53 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:32:24 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:32:55 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:33:27 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:33:57 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:34:29 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l2domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' + headers: + cache-control: + - no-cache + content-length: + - '621' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:34:59 GMT + etag: + - '"98034f42-0000-0100-0000-6489265a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff status: code: 202 message: Accepted @@ -780,7 +1112,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -788,10 +1120,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -800,9 +1132,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:49:02 GMT + - Wed, 14 Jun 2023 02:35:31 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -822,7 +1154,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -830,10 +1162,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -842,9 +1174,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:49:33 GMT + - Wed, 14 Jun 2023 02:36:01 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -864,7 +1196,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -872,10 +1204,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -884,9 +1216,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:50:03 GMT + - Wed, 14 Jun 2023 02:36:32 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -906,7 +1238,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -914,10 +1246,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -926,9 +1258,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:50:35 GMT + - Wed, 14 Jun 2023 02:37:04 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -948,7 +1280,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -956,10 +1288,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -968,9 +1300,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:51:06 GMT + - Wed, 14 Jun 2023 02:37:34 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -990,7 +1322,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -998,10 +1330,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1010,9 +1342,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:51:36 GMT + - Wed, 14 Jun 2023 02:38:06 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1032,7 +1364,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1040,10 +1372,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1052,9 +1384,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:52:08 GMT + - Wed, 14 Jun 2023 02:38:37 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1074,7 +1406,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1082,10 +1414,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1094,9 +1426,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:52:38 GMT + - Wed, 14 Jun 2023 02:39:08 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1116,7 +1448,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1124,10 +1456,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1136,9 +1468,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:53:10 GMT + - Wed, 14 Jun 2023 02:39:38 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1158,7 +1490,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1166,10 +1498,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1178,9 +1510,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:53:40 GMT + - Wed, 14 Jun 2023 02:40:10 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1200,7 +1532,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1208,10 +1540,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1220,9 +1552,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:54:10 GMT + - Wed, 14 Jun 2023 02:40:41 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1242,7 +1574,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1250,10 +1582,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1262,9 +1594,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:54:42 GMT + - Wed, 14 Jun 2023 02:41:12 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1284,7 +1616,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1292,10 +1624,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1304,9 +1636,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:55:13 GMT + - Wed, 14 Jun 2023 02:41:43 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1326,7 +1658,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1334,10 +1666,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1346,9 +1678,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:55:43 GMT + - Wed, 14 Jun 2023 02:42:14 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1368,7 +1700,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1376,10 +1708,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1388,9 +1720,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:56:14 GMT + - Wed, 14 Jun 2023 02:42:45 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1410,7 +1742,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1418,10 +1750,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Deleting","startTime":"2023-06-12T10:49:01.6230584Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Deleting","startTime":"2023-06-14T02:30:50.6584821Z"}' headers: cache-control: - no-cache @@ -1430,9 +1762,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:56:45 GMT + - Wed, 14 Jun 2023 02:43:16 GMT etag: - - '"720361a0-0000-0100-0000-6486f81d0000"' + - '"98034f42-0000-0100-0000-6489265a0000"' expires: - '-1' pragma: @@ -1452,7 +1784,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1460,10 +1792,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Succeeded","startTime":"2023-06-12T10:49:01.6230584Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Succeeded","startTime":"2023-06-14T02:30:50.6584821Z","properties":null}' headers: cache-control: - no-cache @@ -1472,9 +1804,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:57:15 GMT + - Wed, 14 Jun 2023 02:43:47 GMT etag: - - '"6e003e1b-0000-0500-0000-6486f9ff0000"' + - '"140098df-0000-4d00-0000-648929620000"' expires: - '-1' pragma: @@ -1498,7 +1830,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l2domain delete + - networkfabric l2domain delete Connection: - keep-alive ParameterSetName: @@ -1506,10 +1838,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","name":"913e0a17-9362-4245-993e-a75f194f638e*2C7DB1F7EA590075FD7ADD37C4074698AC7DD89CF36F7D8FCAA7ED4BEDFA4B01","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061223","status":"Succeeded","startTime":"2023-06-12T10:49:01.6230584Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","name":"e8c18c1f-2371-44ba-bbd6-7117a237a638*7BD55571C1569E037DB50487975B48A6800423FE90E7DF81F509EA414FA94456","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/nfa-tool-ts-cli-l2domain1-061423","status":"Succeeded","startTime":"2023-06-14T02:30:50.6584821Z","properties":null}' headers: cache-control: - no-cache @@ -1518,9 +1850,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:57:16 GMT + - Wed, 14 Jun 2023 02:43:47 GMT etag: - - '"6e003e1b-0000-0500-0000-6486f9ff0000"' + - '"140098df-0000-4d00-0000-648929620000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml index 2a2b7f105c4..fe7e813a0e4 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain create + - networkfabric l3domain create Connection: - keep-alive ParameterSetName: @@ -124,7 +124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:10:30 GMT + - Wed, 14 Jun 2023 02:31:06 GMT expires: - '-1' pragma: @@ -149,7 +149,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain create + - networkfabric l3domain create Connection: - keep-alive Content-Length: @@ -162,27 +162,27 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T11:10:34.8698706Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Accepted","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","name":"nfa-tool-ts-cli-l3domain061423","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:31:11.535147Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:31:11.535147Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Accepted","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview cache-control: - no-cache content-length: - - '1132' + - '1130' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:10:36 GMT + - Wed, 14 Jun 2023 02:31:13 GMT etag: - - '"230b89db-0000-0100-0000-6486fd2b0000"' + - '"a50b7294-0000-0100-0000-648926700000"' expires: - '-1' mise-correlation-id: - - 04e30eb4-b89f-48d8-a3a6-b9064782ee9f + - de7996f3-2317-4a25-ba09-d774162d63fb pragma: - no-cache strict-transport-security: @@ -204,7 +204,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain create + - networkfabric l3domain create Connection: - keep-alive ParameterSetName: @@ -213,10 +213,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Accepted","startTime":"2023-06-12T11:10:35.7397793Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' headers: cache-control: - no-cache @@ -225,9 +225,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:10:37 GMT + - Wed, 14 Jun 2023 02:31:14 GMT etag: - - '"720310fb-0000-0100-0000-6486fd2b0000"' + - '"9803ad42-0000-0100-0000-648926700000"' expires: - '-1' pragma: @@ -251,7 +251,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain create + - networkfabric l3domain create Connection: - keep-alive ParameterSetName: @@ -260,10 +260,1091 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"1df071d1-6791-476b-8f4c-c6af5415d6a6*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Succeeded","startTime":"2023-06-12T11:10:35.7397793Z","endTime":"2023-06-12T11:10:39.5286029Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:31:45 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:32:16 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:32:46 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:33:17 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:33:49 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:34:19 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:34:51 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:35:21 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:35:53 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:36:24 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:36:55 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:37:26 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:37:57 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:38:27 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:38:58 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:39:30 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:40:00 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:40:31 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:41:02 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:41:33 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:42:03 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:42:34 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Accepted","startTime":"2023-06-14T02:31:12.4900543Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:43:05 GMT + etag: + - '"9803ad42-0000-0100-0000-648926700000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --resource-name --location --nf-id --redistribute-connected-subnets + --redistribute-static-routes --aggregate-route-configuration --connected-subnet-route-policy + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"eba2dc51-da28-407d-a981-11c7f47c999b*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Succeeded","startTime":"2023-06-14T02:31:12.4900543Z","endTime":"2023-06-14T02:43:10.4801396Z","properties":null}' headers: cache-control: - no-cache @@ -272,9 +1353,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:43 GMT + - Wed, 14 Jun 2023 02:43:36 GMT etag: - - '"720343fb-0000-0100-0000-6486fd2f0000"' + - '"98033755-0000-0100-0000-6489293e0000"' expires: - '-1' pragma: @@ -298,7 +1379,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain create + - networkfabric l3domain create Connection: - keep-alive ParameterSetName: @@ -307,21 +1388,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","name":"nfa-tool-ts-cli-l3domain061423","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:31:11.535147Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:43:10.9241818Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' headers: cache-control: - no-cache content-length: - - '1150' + - '1149' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:44 GMT + - Wed, 14 Jun 2023 02:43:38 GMT etag: - - '"230be8db-0000-0100-0000-6486fd2f0000"' + - '"a50b7594-0000-0100-0000-6489293f0000"' expires: - '-1' pragma: @@ -347,7 +1428,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain show + - networkfabric l3domain show Connection: - keep-alive ParameterSetName: @@ -355,21 +1436,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","name":"nfa-tool-ts-cli-l3domain061423","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:31:11.535147Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:43:10.9241818Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}' headers: cache-control: - no-cache content-length: - - '1150' + - '1149' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:45 GMT + - Wed, 14 Jun 2023 02:43:39 GMT etag: - - '"230be8db-0000-0100-0000-6486fd2f0000"' + - '"a50b7594-0000-0100-0000-6489293f0000"' expires: - '-1' pragma: @@ -395,7 +1476,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain list + - networkfabric l3domain list Connection: - keep-alive User-Agent: @@ -404,16 +1485,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223","name":"nfa-tool-ts-cli-l3domain1-061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:28:05.8232857Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:31:33.5671461Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28"},{"prefix":"10.0.0.2/28"}],"ipv6Routes":[{"prefix":"2fff::/64"},{"prefix":"2fff::/65"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/L3IsolationDomains/nfcfab1061323-nffab1061323-l3isd3-1196","name":"nfcfab1061323-nffab1061323-l3isd3-1196","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus2euap","systemData":{"createdBy":"v-sayyalu@microsoft.com","createdByType":"User","createdAt":"2023-06-13T15:39:13.6717174Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T15:39:24.8509154Z"},"properties":{"description":"creating + L3 isolation domain","networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkfabrics/nffab1061323","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":null,"connectedSubnetRoutePolicy":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/fab1l3isd0613","name":"fab1l3isd0613","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T16:51:35.1423501Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T16:58:29.60611Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nffab1061323","provisioningState":"Succeeded","administrativeState":"Enabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"False"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/fab1l3isd6132023","name":"fab1l3isd6132023","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:53:51.4453156Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T17:54:00.0354264Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nffab1061323","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"False","aggregateRouteConfiguration":null,"connectedSubnetRoutePolicy":null}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/fab1isdl3","name":"fab1isdl3","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T18:05:14.7506065Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T18:10:38.1979226Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nffab1061323","provisioningState":"Succeeded","administrativeState":"Enabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"False"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223","name":"nfa-tool-ts-cli-l3domain1-061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:28:05.8232857Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:31:33.5671461Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28"},{"prefix":"10.0.0.2/28"}],"ipv6Routes":[{"prefix":"2fff::/64"},{"prefix":"2fff::/65"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","name":"nfa-tool-ts-cli-l3domain061423","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:31:11.535147Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:43:10.9241818Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}]}' headers: cache-control: - no-cache content-length: - - '2365' + - '6003' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:47 GMT + - Wed, 14 Jun 2023 02:43:40 GMT expires: - '-1' pragma: @@ -425,10 +1507,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - bc526264-e73f-4ad5-b2e9-4a7a0b01b192 - - 301abfe9-28ae-48c1-86a8-9dee3649d2f9 - - 0aaee3ed-4378-4cb0-b3a6-655e072effc9 - - d868df91-dde1-456d-b6dc-6068e77c3647 + - 14caa56b-c383-4591-a498-debe6f35948f + - d7ff8327-6930-4848-bf1e-442079f52d74 + - ffd3c86b-4307-4188-9d8f-625a5ca134ac + - 7740c65d-89a5-48d9-829c-4799681e28c8 status: code: 200 message: OK @@ -440,7 +1522,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain list + - networkfabric l3domain list Connection: - keep-alive ParameterSetName: @@ -451,16 +1533,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223","name":"nfa-tool-ts-cli-l3domain1-061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:28:05.8232857Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:31:33.5671461Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28"},{"prefix":"10.0.0.2/28"}],"ipv6Routes":[{"prefix":"2fff::/64"},{"prefix":"2fff::/65"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","name":"nfa-tool-ts-cli-l3domain061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T11:10:34.8698706Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T11:10:39.6555144Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain1-061223","name":"nfa-tool-ts-cli-l3domain1-061223","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:28:05.8232857Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:31:33.5671461Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/28"},{"prefix":"10.0.0.2/28"}],"ipv6Routes":[{"prefix":"2fff::/64"},{"prefix":"2fff::/65"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","name":"nfa-tool-ts-cli-l3domain061423","type":"microsoft.managednetworkfabric/l3isolationdomains","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:31:11.535147Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:43:10.9241818Z"},"properties":{"networkFabricId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","provisioningState":"Succeeded","administrativeState":"Disabled","redistributeConnectedSubnets":"True","redistributeStaticRoutes":"True","aggregateRouteConfiguration":{"ipv4Routes":[{"prefix":"10.0.0.1/27"}],"ipv6Routes":[{"prefix":"2fff::/59"}]},"connectedSubnetRoutePolicy":{"exportRoutePolicyId":"","administrativeState":"Disabled"}}}]}' headers: cache-control: - no-cache content-length: - - '2365' + - '2364' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:49 GMT + - Wed, 14 Jun 2023 02:43:42 GMT expires: - '-1' pragma: @@ -472,10 +1554,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 9349a434-1a09-41eb-a3f4-fd881d840c45 - - 978d30b8-d7ef-4f25-9485-920f9bb3d7cc - - 5113d834-de82-4cca-8cb7-d0767f97dc15 - - 1753f836-ff85-4d25-b1bd-d1581ebd4827 + - d0a1c454-61cb-4139-8771-d844231267a5 + - e8e20aa6-93ba-4571-85e2-6b1bfe0c97db + - a3cbba4d-254b-40ad-bd6b-49db494630aa + - d1aa8aae-ade2-4b46-8a7e-8bec03390056 status: code: 200 message: OK @@ -487,7 +1569,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain delete + - networkfabric l3domain delete Connection: - keep-alive Content-Length: @@ -497,13 +1579,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -511,15 +1593,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:51 GMT + - Wed, 14 Jun 2023 02:43:44 GMT etag: - - '"230b3ee8-0000-0100-0000-6486fdb40000"' + - '"a50b7694-0000-0100-0000-648929600000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview mise-correlation-id: - - 1251a9bd-91c0-4ef5-9656-220db8e93cfc + - f4681368-5fbd-4698-8e75-6921173113c5 pragma: - no-cache strict-transport-security: @@ -541,7 +1623,49 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain delete + - networkfabric l3domain delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Deleting","startTime":"2023-06-14T02:43:44.6975062Z"}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:43:44 GMT + etag: + - '"98032956-0000-0100-0000-648929600000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric l3domain delete Connection: - keep-alive ParameterSetName: @@ -549,21 +1673,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Succeeded","startTime":"2023-06-12T11:12:52.226336Z","endTime":"2023-06-12T11:12:52.8667658Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Succeeded","startTime":"2023-06-14T02:43:44.6975062Z","endTime":"2023-06-14T02:43:45.2399666Z","properties":null}' headers: cache-control: - no-cache content-length: - - '678' + - '679' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:53 GMT + - Wed, 14 Jun 2023 02:44:14 GMT etag: - - '"7303ac08-0000-0100-0000-6486fdb40000"' + - '"98033e56-0000-0100-0000-648929610000"' expires: - '-1' pragma: @@ -587,7 +1711,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain delete + - networkfabric l3domain delete Connection: - keep-alive ParameterSetName: @@ -595,21 +1719,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","name":"f974a779-58ca-4145-afae-d003eb95a637*A9588397C0D53744A994E313C2E60C46AFE6924A4F4DB3B1BA82C1C007E2C900","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061223","status":"Succeeded","startTime":"2023-06-12T11:12:52.226336Z","endTime":"2023-06-12T11:12:52.8667658Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","name":"30948e2c-610b-4bf4-a36b-a308d8c01b3d*CA27A4C70B6569659C9D40D40FC4AAE70C745165DF32F8AAD90DDA984F07131E","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/nfa-tool-ts-cli-l3domain061423","status":"Succeeded","startTime":"2023-06-14T02:43:44.6975062Z","endTime":"2023-06-14T02:43:45.2399666Z","properties":null}' headers: cache-control: - no-cache content-length: - - '678' + - '679' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:12:53 GMT + - Wed, 14 Jun 2023 02:44:15 GMT etag: - - '"7303ac08-0000-0100-0000-6486fdb40000"' + - '"98033e56-0000-0100-0000-648929610000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml index 186db8990af..1001c57f51b 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_l3domain_scenario2.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain update-admin-state + - networkfabric l3domain update-admin-state Connection: - keep-alive Content-Length: @@ -25,7 +25,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9b67f6b9-231c-4f26-8e5c-3a90767ec15e*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/915601b0-2dd0-4089-987b-fc313678109d*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -33,13 +33,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:10:29 GMT + - Wed, 14 Jun 2023 02:31:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9b67f6b9-231c-4f26-8e5c-3a90767ec15e*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/915601b0-2dd0-4089-987b-fc313678109d*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview mise-correlation-id: - - f908c213-791a-4d67-baef-adae5a5ab6c3 + - c91ac431-adce-4832-9f7e-fbcacf83fbf3 pragma: - no-cache strict-transport-security: @@ -61,7 +61,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf l3domain update-admin-state + - networkfabric l3domain update-admin-state Connection: - keep-alive Content-Length: @@ -79,7 +79,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/59e14fa4-ca42-4bc7-b805-5c4d671802e0*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ac3666b4-07dc-42af-bfc2-eabf50ccba86*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -87,13 +87,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 11:10:31 GMT + - Wed, 14 Jun 2023 02:31:09 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/59e14fa4-ca42-4bc7-b805-5c4d671802e0*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ac3666b4-07dc-42af-bfc2-eabf50ccba86*DEA98479DEAB952D2C7B3E1C1A127F4A7E2CC5EB9A1ACE6FA862E69C2ED32F04?api-version=2023-02-01-preview mise-correlation-id: - - 48c2d637-ed00-4807-9cb4-7a97a96cb705 + - 55b58ccf-4181-4a8e-86e4-e32927594a50 pragma: - no-cache strict-transport-security: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml index e3853bf8213..773fded3ad0 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric create + - networkfabric fabric create Connection: - keep-alive ParameterSetName: @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:21 GMT + - Wed, 14 Jun 2023 02:41:46 GMT expires: - '-1' pragma: @@ -156,7 +156,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric create + - networkfabric fabric create Connection: - keep-alive Content-Length: @@ -170,13 +170,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T10:05:28.6473603Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Accepted","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","name":"nfa-tool-ts-cli-nf061423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:51.9063112Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:41:51.9063112Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Accepted","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -184,13 +184,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:30 GMT + - Wed, 14 Jun 2023 02:41:54 GMT etag: - - '"2801747d-0000-0100-0000-6486ede90000"' + - '"4e018de2-0000-0100-0000-648928f00000"' expires: - '-1' mise-correlation-id: - - b7fb6b64-e9d2-4489-8fb0-e9af4fbf7255 + - 00d2a1d9-12a6-4909-b719-cab75bdbe22e pragma: - no-cache strict-transport-security: @@ -200,7 +200,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -212,7 +212,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric create + - networkfabric fabric create Connection: - keep-alive ParameterSetName: @@ -222,10 +222,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Updating","startTime":"2023-06-12T10:05:29.6325522Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Updating","startTime":"2023-06-14T02:41:52.8206847Z"}' headers: cache-control: - no-cache @@ -234,9 +234,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:31 GMT + - Wed, 14 Jun 2023 02:41:55 GMT etag: - - '"72032c01-0000-0100-0000-6486ede90000"' + - '"98038051-0000-0100-0000-648928f00000"' expires: - '-1' pragma: @@ -260,7 +260,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric create + - networkfabric fabric create Connection: - keep-alive ParameterSetName: @@ -270,10 +270,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"557dd0cf-bab4-46e2-9289-27cbcca50160*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Succeeded","startTime":"2023-06-12T10:05:29.6325522Z","endTime":"2023-06-12T10:05:36.5645141Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"9d7d7de2-23dc-4519-8873-8a2a6dfd732a*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Succeeded","startTime":"2023-06-14T02:41:52.8206847Z","endTime":"2023-06-14T02:42:02.6485409Z","properties":null}' headers: cache-control: - no-cache @@ -282,9 +282,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:02 GMT + - Wed, 14 Jun 2023 02:42:26 GMT etag: - - '"7203ea01-0000-0100-0000-6486edf00000"' + - '"98039251-0000-0100-0000-648928fa0000"' expires: - '-1' pragma: @@ -308,7 +308,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric create + - networkfabric fabric create Connection: - keep-alive ParameterSetName: @@ -318,21 +318,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","name":"nfa-tool-ts-cli-nf061423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:51.9063112Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:42:07.492859Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' headers: cache-control: - no-cache content-length: - - '2143' + - '2142' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:02 GMT + - Wed, 14 Jun 2023 02:42:26 GMT etag: - - '"2801ea7e-0000-0100-0000-6486edf50000"' + - '"4e0198e2-0000-0100-0000-648928ff0000"' expires: - '-1' pragma: @@ -358,7 +358,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric show + - networkfabric fabric show Connection: - keep-alive ParameterSetName: @@ -366,21 +366,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","name":"nfa-tool-ts-cli-nf061423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:51.9063112Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:42:07.492859Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}' headers: cache-control: - no-cache content-length: - - '2143' + - '2142' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:04 GMT + - Wed, 14 Jun 2023 02:42:30 GMT etag: - - '"2801ea7e-0000-0100-0000-6486edf50000"' + - '"4e0198e2-0000-0100-0000-648928ff0000"' expires: - '-1' pragma: @@ -406,7 +406,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric list + - networkfabric fabric list Connection: - keep-alive User-Agent: @@ -415,16 +415,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkFabrics?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","name":"nfTestD15180423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"v-samkan@microsoft.com","createdByType":"User","createdAt":"2023-04-18T10:01:50.5560968Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T13:31:51.7541029Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-comprack2"],"networkFabricSku":"M4-A400-A100-C16-aa","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testnfcrg032323-reg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/testnfc032323-reg","terminalServerConfiguration":{"username":"root","serialNumber":"22482205168838","primaryIpv4Prefix":"10.11.255.248/30","secondaryIpv4Prefix":"10.11.255.240/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":512,"peerASN":64433,"bfdConfiguration":null,"primaryIpv4Prefix":"10.11.0.132/30","secondaryIpv4Prefix":"10.11.0.136/30"},"optionBProperties":{"importRouteTargets":["10000:64433","10000:64433"],"exportRouteTargets":["10000:64433","10000:64433"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":64433,"bfdConfiguration":null,"primaryIpv4Prefix":"10.11.0.120/30","secondaryIpv4Prefix":"10.11.0.116/30"},"optionBProperties":{"importRouteTargets":["10000:64433","10000:64433"],"exportRouteTargets":["10000:64433","10000:64433"]}}},"provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":4,"ipv4Prefix":"10.11.0.0/19","ipv6Prefix":"fda0:d59c:da11::/59","fabricASN":10000}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-15T13:46:32.7512554Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-15T13:50:53.4374126Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabriccontrollers/labtest022323","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-16T05:52:29.6655592Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-16T05:56:44.8087551Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkfabriccontrollers/NFC0516","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabrics/NF-test-0515","name":"NF-test-0515","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-16T07:03:48.2720556Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-16T07:07:30.0234852Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabriccontrollers/NFC-test-0515","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"operationalState":"Deprovisioned","provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scusnfrgsanity042323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/scusnfsanity042323","name":"scusnfsanity042323","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-kokreddy@microsoft.com","createdByType":"User","createdAt":"2023-04-23T08:58:57.6893718Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-23T08:59:00.1542758Z"},"properties":{"networkFabricSku":"M4-A400-A100-C16-aa","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/d15fixnfcrg042023/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/d15fixnfc042023","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.12/30","secondaryIpv4Prefix":"20.0.1.12/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":2,"ipv4Prefix":"10.18.0.0/16","ipv6Prefix":"fda0:d59c:da12::/59","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","name":"nfa-tool-ts-nf060523","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T07:01:20.2777059Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:26:36.2848754Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack2"],"l2IsolationDomains":[],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"qwer","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","name":"nfa-tool-ts-cli-nf1-061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:42:43.9104581Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:56.5116367Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clitestrg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"operationalState":"Deprovisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-04-26T09:09:39.7050638Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-26T09:09:43.5022299Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabriccontrollers/nfcankitha","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestD15nf180423/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfTestD15180423","name":"nfTestD15180423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"v-samkan@microsoft.com","createdByType":"User","createdAt":"2023-04-18T10:01:50.5560968Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-18T13:31:51.7541029Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testd15nf180423/providers/microsoft.managednetworkfabric/networkracks/nftestd15180423-comprack2"],"networkFabricSku":"M4-A400-A100-C16-aa","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testnfcrg032323-reg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/testnfc032323-reg","terminalServerConfiguration":{"username":"root","serialNumber":"22482205168838","primaryIpv4Prefix":"10.11.255.248/30","secondaryIpv4Prefix":"10.11.255.240/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":512,"peerASN":64433,"bfdConfiguration":null,"primaryIpv4Prefix":"10.11.0.132/30","secondaryIpv4Prefix":"10.11.0.136/30"},"optionBProperties":{"importRouteTargets":["10000:64433","10000:64433"],"exportRouteTargets":["10000:64433","10000:64433"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":513,"peerASN":64433,"bfdConfiguration":null,"primaryIpv4Prefix":"10.11.0.120/30","secondaryIpv4Prefix":"10.11.0.116/30"},"optionBProperties":{"importRouteTargets":["10000:64433","10000:64433"],"exportRouteTargets":["10000:64433","10000:64433"]}}},"provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":4,"ipv4Prefix":"10.11.0.0/19","ipv6Prefix":"fda0:d59c:da11::/59","fabricASN":10000}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-15T13:46:32.7512554Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-15T13:50:53.4374126Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabriccontrollers/labtest022323","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-16T05:52:29.6655592Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-16T05:56:44.8087551Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkfabriccontrollers/NFC0516","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabrics/NF-test-0515","name":"NF-test-0515","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-16T07:03:48.2720556Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-16T07:07:30.0234852Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkfabriccontrollers/NFC-test-0515","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"operationalState":"Deprovisioned","provisioningState":"Failed","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkfabrics/nffab1061323","name":"nffab1061323","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-06-13T12:06:09.8729126Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T18:10:08.3273262Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkracks/nffab1061323-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkracks/nffab1061323-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkracks/nffab1061323-comprack2"],"l2IsolationDomains":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/l2isolationdomains/l2isd0613"],"l3IsolationDomains":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/l3isolationdomains/nfcfab1061323-nffab1061323-l3isd3-1196","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/l3isolationdomains/fab1l3isd0613","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/l3isolationdomains/fab1l3isd6132023","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/l3isolationdomains/fab1isdl3"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfcrg061323/providers/microsoft.managednetworkfabric/networkfabriccontrollers/nfcfab1061323","terminalServerConfiguration":{"username":"root","serialNumber":"22482112150801","primaryIpv4Prefix":"20.0.1.0/30","secondaryIpv4Prefix":"20.0.0.0/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65048:10039"],"exportRouteTargets":["65048:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65048:10050"],"exportRouteTargets":["65048:10050"]}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","ipv6Prefix":"fda0:d59c:da02::/59","fabricASN":65048}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scusnfrgsanity042323/providers/Microsoft.ManagedNetworkFabric/networkFabrics/scusnfsanity042323","name":"scusnfsanity042323","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-kokreddy@microsoft.com","createdByType":"User","createdAt":"2023-04-23T08:58:57.6893718Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-23T08:59:00.1542758Z"},"properties":{"networkFabricSku":"M4-A400-A100-C16-aa","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/d15fixnfcrg042023/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/d15fixnfc042023","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.12/30","secondaryIpv4Prefix":"20.0.1.12/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Failed","rackCount":2,"serverCountPerRack":2,"ipv4Prefix":"10.18.0.0/16","ipv6Prefix":"fda0:d59c:da12::/59","fabricASN":65046}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","name":"nfa-tool-ts-nf060523","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T07:01:20.2777059Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:36:52.733968Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack2"],"l2IsolationDomains":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/l2isolationdomains/nfa-tool-ts-cli-l2domain1-061423"],"l3IsolationDomains":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/l3isolationdomains/nfa-tool-ts-cli-l3domain1-061223"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"qwer","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","name":"nfa-tool-ts-cli-nf1-061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:42:43.9104581Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:42:21.2279339Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clitestrg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"operationalState":"Deprovisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","name":"nfa-tool-ts-cli-nf061423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:51.9063112Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:42:07.492859Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabrics/testnfrg040423-e2etest-01","name":"testnfrg040423-e2etest-01","type":"microsoft.managednetworkfabric/networkfabrics","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-04-26T09:09:39.7050638Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-26T09:09:43.5022299Z"},"properties":{"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabriccontrollers/nfcankitha","terminalServerConfiguration":{"username":"root","serialNumber":"22482301206308","primaryIpv4Prefix":"20.0.0.13/30","secondaryIpv4Prefix":"20.0.1.13/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10039"],"exportRouteTargets":["65046:10039"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65046:10050"],"exportRouteTargets":["65046:10050"]}}},"provisioningState":"Succeeded","rackCount":2,"serverCountPerRack":7,"ipv4Prefix":"10.2.0.0/19","fabricASN":65046}}]}' headers: cache-control: - no-cache content-length: - - '16307' + - '19533' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:07 GMT + - Wed, 14 Jun 2023 02:42:31 GMT expires: - '-1' pragma: @@ -436,10 +436,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - c586576b-3c77-4f52-a367-4a4ae7bded1f - - 045639dc-b2b8-4333-9b99-6bc5c2e128da - - 476eedab-bb38-4801-97c8-4de24cd28ea8 - - bee45309-e31e-4791-baa1-569e00b51e48 + - c8a15783-919e-448c-b667-d0995eba6a35 + - 8c104cb8-a1f5-428e-ae67-cea7a471e077 + - ec0998d5-ab96-4c8f-9f4b-c77cacd0401e + - d516509a-3562-42e2-a995-d4387202a6f5 status: code: 200 message: OK @@ -451,7 +451,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric list + - networkfabric fabric list Connection: - keep-alive ParameterSetName: @@ -462,16 +462,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","name":"nfa-tool-ts-nf060523","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T07:01:20.2777059Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T09:26:36.2848754Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack2"],"l2IsolationDomains":[],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"qwer","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"bfdConfiguration":null,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","name":"nfa-tool-ts-cli-nf1-061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:42:43.9104581Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:56.5116367Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clitestrg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"operationalState":"Deprovisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","name":"nfa-tool-ts-cli-nf061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T10:05:28.6473603Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:05:41.8036729Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-nf060523","name":"nfa-tool-ts-nf060523","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T07:01:20.2777059Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:36:52.733968Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-nf060523-comprack2"],"l2IsolationDomains":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/l2isolationdomains/nfa-tool-ts-cli-l2domain1-061423"],"l3IsolationDomains":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/l3isolationdomains/nfa-tool-ts-cli-l3domain1-061223"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"qwer","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionA","optionAProperties":{"mtu":1500,"vlanId":501,"peerASN":65133,"primaryIpv4Prefix":"172.31.0.0/31","secondaryIpv4Prefix":"172.31.0.0/31"}}},"operationalState":"Provisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","name":"nfa-tool-ts-cli-nf1-061223","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:42:43.9104581Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:42:21.2279339Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf1-061223-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clitestrg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"172.31.0.0/30","secondaryIpv4Prefix":"172.31.0.20/30"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"operationalState":"Deprovisioned","provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","fabricASN":20}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","name":"nfa-tool-ts-cli-nf061423","type":"microsoft.managednetworkfabric/networkfabrics","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:51.9063112Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-14T02:42:07.492859Z"},"properties":{"racks":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-aggrack","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack1","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkracks/nfa-tool-ts-cli-nf061423-comprack2"],"networkFabricSku":"fab1","networkFabricControllerId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","terminalServerConfiguration":{"username":"****","serialNumber":"1234","primaryIpv4Prefix":"20.20.0.0/27","secondaryIpv4Prefix":"20.20.0.0/25"},"managementNetworkConfiguration":{"infrastructureVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65521:2001","65512:2002"],"exportRouteTargets":["65531:1002","65532:1003"]}},"workloadVpnConfiguration":{"administrativeState":"Enabled","peeringOption":"OptionB","optionBProperties":{"importRouteTargets":["65541:2001","65542:2002"],"exportRouteTargets":["65531:1230","65532:2301"]}}},"provisioningState":"Succeeded","rackCount":3,"serverCountPerRack":7,"ipv4Prefix":"10.1.0.0/19","ipv6Prefix":"2fff::/59","fabricASN":65523}}]}' headers: cache-control: - no-cache content-length: - - '6546' + - '6910' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:07 GMT + - Wed, 14 Jun 2023 02:42:32 GMT expires: - '-1' pragma: @@ -483,10 +483,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 7df8135c-deff-4a81-a8af-a292e0ae8d10 - - ca4de559-a148-48ae-baed-700c5b918afb - - c7c621d2-1008-45bc-bd3b-aa97a1d81bb1 - - 174e20cd-990c-446a-8e6e-ac3d0b8c329c + - e4c48a79-9fca-4dd3-8e6c-3d475975a6fb + - 24c763dd-0e47-4b25-86a8-37ddd0366bda + - d3154929-6ad4-4182-8fe2-07c9ed70b4d4 + - 815b602b-6d51-439f-bc28-459eeadc6c77 status: code: 200 message: OK @@ -498,7 +498,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive Content-Length: @@ -508,13 +508,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -522,15 +522,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:10 GMT + - Wed, 14 Jun 2023 02:42:35 GMT etag: - - '"28014781-0000-0100-0000-6486ee120000"' + - '"4e0128e3-0000-0100-0000-6489291b0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview mise-correlation-id: - - 5e46e139-555a-4c89-8ba2-ac6d293eb120 + - eedf6041-65e4-4715-9c80-b2099f7b2afb pragma: - no-cache strict-transport-security: @@ -552,7 +552,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive ParameterSetName: @@ -560,21 +560,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Deleting","startTime":"2023-06-14T02:42:35.7337268Z"}' headers: cache-control: - no-cache content-length: - - '608' + - '609' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:11 GMT + - Wed, 14 Jun 2023 02:42:36 GMT etag: - - '"7203fd04-0000-0100-0000-6486ee110000"' + - '"9803ce52-0000-0100-0000-6489291b0000"' expires: - '-1' pragma: @@ -594,7 +594,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive ParameterSetName: @@ -602,21 +602,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Deleting","startTime":"2023-06-14T02:42:35.7337268Z"}' headers: cache-control: - no-cache content-length: - - '608' + - '609' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:06:41 GMT + - Wed, 14 Jun 2023 02:43:08 GMT etag: - - '"7203fd04-0000-0100-0000-6486ee110000"' + - '"9803ce52-0000-0100-0000-6489291b0000"' expires: - '-1' pragma: @@ -636,7 +636,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive ParameterSetName: @@ -644,21 +644,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Deleting","startTime":"2023-06-14T02:42:35.7337268Z"}' headers: cache-control: - no-cache content-length: - - '608' + - '609' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:07:12 GMT + - Wed, 14 Jun 2023 02:43:39 GMT etag: - - '"7203fd04-0000-0100-0000-6486ee110000"' + - '"9803ce52-0000-0100-0000-6489291b0000"' expires: - '-1' pragma: @@ -678,7 +678,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive ParameterSetName: @@ -686,21 +686,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Deleting","startTime":"2023-06-12T10:06:09.745744Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Deleting","startTime":"2023-06-14T02:42:35.7337268Z"}' headers: cache-control: - no-cache content-length: - - '608' + - '609' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:07:42 GMT + - Wed, 14 Jun 2023 02:44:10 GMT etag: - - '"7203fd04-0000-0100-0000-6486ee110000"' + - '"9803ce52-0000-0100-0000-6489291b0000"' expires: - '-1' pragma: @@ -720,7 +720,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive ParameterSetName: @@ -728,21 +728,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Succeeded","startTime":"2023-06-12T10:06:09.745744Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Succeeded","startTime":"2023-06-14T02:42:35.7337268Z","properties":null}' headers: cache-control: - no-cache content-length: - - '627' + - '628' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:08:13 GMT + - Wed, 14 Jun 2023 02:44:41 GMT etag: - - '"6c007e5a-0000-0500-0000-6486ee860000"' + - '"98039f57-0000-0100-0000-648929900000"' expires: - '-1' pragma: @@ -766,7 +766,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric delete + - networkfabric fabric delete Connection: - keep-alive ParameterSetName: @@ -774,21 +774,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","name":"ea0c3ec5-9b1f-4a66-b77f-4efb1bba9022*070065EA012C3572DF8BE6283B60BEC660047EFA11CC024BD86C0481B4D8F26C","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061223","status":"Succeeded","startTime":"2023-06-12T10:06:09.745744Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","name":"ba0e919e-6d1c-44e3-b5de-8079756e4d07*06B444CFAD82356ABCBF81C55D0B7BFB64D899B1AA2AFD31EAA1B2209FC40064","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf061423","status":"Succeeded","startTime":"2023-06-14T02:42:35.7337268Z","properties":null}' headers: cache-control: - no-cache content-length: - - '627' + - '628' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:08:13 GMT + - Wed, 14 Jun 2023 02:44:41 GMT etag: - - '"6c007e5a-0000-0500-0000-6486ee860000"' + - '"98039f57-0000-0100-0000-648929900000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml index 845660b29e8..bbc8e8a523f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nf_scenario2.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric provision + - networkfabric fabric provision Connection: - keep-alive Content-Length: @@ -23,7 +23,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -31,13 +31,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:22 GMT + - Wed, 14 Jun 2023 02:41:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview mise-correlation-id: - - 315cb501-e90f-4ae9-b27a-d3f54d25a26c + - d064b810-a2ab-46b2-afb1-cea7cc2a2d51 pragma: - no-cache strict-transport-security: @@ -59,7 +59,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric provision + - networkfabric fabric provision Connection: - keep-alive ParameterSetName: @@ -67,21 +67,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Updating","startTime":"2023-06-12T10:05:21.8114654Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Updating","startTime":"2023-06-14T02:41:46.894624Z"}' headers: cache-control: - no-cache content-length: - - '611' + - '610' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:23 GMT + - Wed, 14 Jun 2023 02:41:47 GMT etag: - - '"72036b00-0000-0100-0000-6486ede20000"' + - '"98036b51-0000-0100-0000-648928eb0000"' expires: - '-1' pragma: @@ -101,7 +101,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric provision + - networkfabric fabric provision Connection: - keep-alive ParameterSetName: @@ -109,21 +109,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:21.8114654Z","endTime":"2023-06-12T10:05:50.7176295Z","error":{"code":"NetworkFabricProvisionFailed","message":"!isProcessed"},"properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-14T02:41:46.894624Z","endTime":"2023-06-14T02:42:01.6041882Z","error":{"code":"NetworkFabricProvisionFailed","message":"!isProcessed"},"properties":null}' headers: cache-control: - no-cache content-length: - - '744' + - '743' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:53 GMT + - Wed, 14 Jun 2023 02:42:19 GMT etag: - - '"72030f03-0000-0100-0000-6486edfe0000"' + - '"98039051-0000-0100-0000-648928f90000"' expires: - '-1' pragma: @@ -147,7 +147,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric provision + - networkfabric fabric provision Connection: - keep-alive ParameterSetName: @@ -155,21 +155,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"269f66c3-a19b-41e1-bbd1-1a1915627b7c*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:21.8114654Z","endTime":"2023-06-12T10:05:50.7176295Z","error":{"code":"NetworkFabricProvisionFailed","message":"!isProcessed"},"properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"1cf02001-4892-41c8-bf9e-1370d871f8dc*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-14T02:41:46.894624Z","endTime":"2023-06-14T02:42:01.6041882Z","error":{"code":"NetworkFabricProvisionFailed","message":"!isProcessed"},"properties":null}' headers: cache-control: - no-cache content-length: - - '744' + - '743' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:53 GMT + - Wed, 14 Jun 2023 02:42:19 GMT etag: - - '"72030f03-0000-0100-0000-6486edfe0000"' + - '"98039051-0000-0100-0000-648928f90000"' expires: - '-1' pragma: @@ -193,7 +193,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric deprovision + - networkfabric fabric deprovision Connection: - keep-alive Content-Length: @@ -209,7 +209,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -217,13 +217,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:55 GMT + - Wed, 14 Jun 2023 02:42:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview mise-correlation-id: - - 6e1c62dc-3075-4d22-bf3e-ee99ea95f318 + - 184f03f7-ce3d-478c-b88e-fa59c0f8b171 pragma: - no-cache strict-transport-security: @@ -245,7 +245,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric deprovision + - networkfabric fabric deprovision Connection: - keep-alive ParameterSetName: @@ -253,10 +253,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:56.2207839Z","endTime":"2023-06-12T10:05:56.6559064Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-14T02:42:20.9647164Z","endTime":"2023-06-14T02:42:21.3640861Z","properties":null}' headers: cache-control: - no-cache @@ -265,9 +265,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:56 GMT + - Wed, 14 Jun 2023 02:42:21 GMT etag: - - '"72035303-0000-0100-0000-6486ee040000"' + - '"98037452-0000-0100-0000-6489290d0000"' expires: - '-1' pragma: @@ -291,7 +291,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf fabric deprovision + - networkfabric fabric deprovision Connection: - keep-alive ParameterSetName: @@ -299,10 +299,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"03067195-85a1-4601-bfb7-acb5f96f78f8*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-12T10:05:56.2207839Z","endTime":"2023-06-12T10:05:56.6559064Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","name":"208168bd-2573-451d-807b-0c205ac8f760*97DE87ADBFC177CE87465E8A2DF1C29B9AE0E2DA47FB007591B8D2C8B84804D1","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223","status":"Succeeded","startTime":"2023-06-14T02:42:20.9647164Z","endTime":"2023-06-14T02:42:21.3640861Z","properties":null}' headers: cache-control: - no-cache @@ -311,9 +311,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 10:05:57 GMT + - Wed, 14 Jun 2023 02:42:21 GMT etag: - - '"72035303-0000-0100-0000-6486ee040000"' + - '"98037452-0000-0100-0000-6489290d0000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml index 2f423df7af8..f8ede792671 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller create + - networkfabric controller create Connection: - keep-alive ParameterSetName: @@ -124,7 +124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:36 GMT + - Wed, 14 Jun 2023 02:41:33 GMT expires: - '-1' pragma: @@ -149,7 +149,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller create + - networkfabric controller create Connection: - keep-alive Content-Length: @@ -162,13 +162,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061423","name":"nfa-tool-ts-cli-nfc061423","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:36.8480599Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:41:36.8480599Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061423-HostedResources-13F9FE1E"},"provisioningState":"Accepted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/dffcc6b3-407e-43fd-b994-3e666d95d1f9*AE553FAA5CF7990617C3CFD44A6DAA4D98D0A723FD5CF6B3F66A80A5413A0199?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/2a554f30-f7cc-4f9c-8687-e4e716bf2aed*BF0EC37D727A07AC136C27B1027D25E70E4F7370176FB8B200B9C1ED5C03BE96?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -176,13 +176,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:47 GMT + - Wed, 14 Jun 2023 02:41:39 GMT etag: - - '"b103bfed-0000-0100-0000-6486cda10000"' + - '"69045598-0000-0100-0000-648928e20000"' expires: - '-1' mise-correlation-id: - - c2c89ef5-35f1-4571-a302-b805a857ea77 + - 5d62fd81-23ed-491c-82aa-6ad288c366ed pragma: - no-cache strict-transport-security: @@ -192,7 +192,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -204,7 +204,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller show + - networkfabric controller show Connection: - keep-alive ParameterSetName: @@ -212,10 +212,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061423","name":"nfa-tool-ts-cli-nfc061423","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:36.8480599Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:41:36.8480599Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061423-HostedResources-13F9FE1E"},"provisioningState":"Accepted"}}' headers: cache-control: - no-cache @@ -224,9 +224,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:48 GMT + - Wed, 14 Jun 2023 02:41:41 GMT etag: - - '"b103bfed-0000-0100-0000-6486cda10000"' + - '"69045598-0000-0100-0000-648928e20000"' expires: - '-1' pragma: @@ -252,7 +252,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller list + - networkfabric controller list Connection: - keep-alive User-Agent: @@ -261,17 +261,17 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkFabriccontrollers/NFC-Test-172023","name":"NFC-Test-172023","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"v-thvishnupr@microsoft.com","createdByType":"User","createdAt":"2023-05-17T07:19:00.9840797Z","lastModifiedBy":"v-thvishnupr@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-17T07:19:00.9840797Z"},"properties":{"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"managedResourceGroupName"},"ipv4AddressSpace":"10.245.160.0/19","annotation":"lab1","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-11"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-12"}],"provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nffab303012023","name":"nffab303012023","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"v-rajonnalag@microsoft.com","createdByType":"User","createdAt":"2023-05-17T10:39:01.7469605Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-05-17T11:37:37.6081548Z"},"properties":{"ipv4AddressSpace":"10.0.0.0/19","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}],"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nffab303012023-HostedResources-4985EE11"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nfc240523","name":"nfc240523","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-24T09:51:45.7718562Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-24T09:51:45.7718562Z"},"properties":{"ipv4AddressSpace":"10.0.0.0/19","annotation":"Fab2","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}],"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nfc240523-HostedResources-0C087F5B"},"provisioningState":"Failed","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","name":"nfa-tool-ts-nfc060223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T05:39:38.5844335Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:32.9373857Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc060223-HostedResources-4166D7B2"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkfabrics/nfa-tool-ts-nf060523"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","name":"nfa-tool-ts-nfc1-061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:00:37.4775301Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T07:27:05.6494666Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":""}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":""}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc1-061223-HostedResources-6874933D"},"provisioningState":"Deleting","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabriccontrollers/E2E-Test-NFC","name":"E2E-Test-NFC","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-04-26T05:50:56.589034Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-26T06:39:57.993253Z"},"properties":{"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["172.253.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["172.253.28.0/22"],"ipv6AddressSpaces":[]},"managedResourceGroupConfiguration":{"location":"westus3","name":"managedResourceGroupName"},"ipv4AddressSpace":"172.253.0.0/19","annotation":"lab + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkFabriccontrollers/NFC-Test-172023","name":"NFC-Test-172023","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"v-thvishnupr@microsoft.com","createdByType":"User","createdAt":"2023-05-17T07:19:00.9840797Z","lastModifiedBy":"v-thvishnupr@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-17T07:19:00.9840797Z"},"properties":{"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"managedResourceGroupName"},"ipv4AddressSpace":"10.245.160.0/19","annotation":"lab1","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-11"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-12"}],"provisioningState":"Failed"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg120922/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nffab303012023","name":"nffab303012023","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"v-rajonnalag@microsoft.com","createdByType":"User","createdAt":"2023-05-17T10:39:01.7469605Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T12:44:47.8088911Z"},"properties":{"provisioningState":"Failed","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"ipv4AddressSpace":"10.0.0.0/19","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}],"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nffab303012023-HostedResources-4985EE11"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/labtestnfcrg150523/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nfc240523","name":"nfc240523","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-05-24T09:51:45.7718562Z","lastModifiedBy":"edf733ea-9067-4115-8588-b12c62d25d45","lastModifiedByType":"Application","lastModifiedAt":"2023-05-24T09:51:45.7718562Z"},"properties":{"ipv4AddressSpace":"10.0.0.0/19","annotation":"Fab2","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}],"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nfc240523-HostedResources-0C087F5B"},"provisioningState":"Failed","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfcrg061323/providers/microsoft.managednetworkfabric/networkFabriccontrollers/nfcfab1061323","name":"nfcfab1061323","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus2euap","systemData":{"createdBy":"edf733ea-9067-4115-8588-b12c62d25d45","createdByType":"Application","createdAt":"2023-06-13T11:08:17.9826172Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T12:06:30.512505Z"},"properties":{"managedResourceGroupConfiguration":{"location":"eastus2euap","name":"nfcfab1061323-HostedResources-1AEC8AB2"},"ipv4AddressSpace":"10.245.96.0/19","annotation":"fab1","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-01"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-04"}],"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.245.96.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.245.124.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fab1nfrg061323/providers/microsoft.managednetworkfabric/networkfabrics/nffab1061323"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","name":"nfa-tool-ts-nfc060223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T05:39:38.5844335Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:07:08.746557Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc060223-HostedResources-4166D7B2"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkfabrics/nfa-tool-ts-nf060523"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","name":"nfa-tool-ts-cli-nfc061323","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:07:44.2597811Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:07:44.2597811Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061323-HostedResources-6EDA7BAC"},"provisioningState":"Deleting","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["20.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["20.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061423","name":"nfa-tool-ts-cli-nfc061423","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:36.8480599Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:41:36.8480599Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061423-HostedResources-13F9FE1E"},"provisioningState":"Accepted"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/microsoft.managednetworkfabric/networkfabriccontrollers/E2E-Test-NFC","name":"E2E-Test-NFC","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-04-26T05:50:56.589034Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-04-26T06:39:57.993253Z"},"properties":{"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["172.253.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["172.253.28.0/22"],"ipv6AddressSpaces":[]},"managedResourceGroupConfiguration":{"location":"westus3","name":"managedResourceGroupName"},"ipv4AddressSpace":"172.253.0.0/19","annotation":"lab 1","infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-13"}],"workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ER-Dedicated-WUS2-AFO-Circuits/providers/Microsoft.Network/expressRouteCircuits/MSFT-ER-Dedicated-PvtPeering-WestUS2-AFO-Ckt-14"}]}}]}' headers: cache-control: - no-cache content-length: - - '9520' + - '11454' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:50 GMT + - Wed, 14 Jun 2023 02:41:43 GMT expires: - '-1' pragma: @@ -283,10 +283,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 6d852ef1-611e-4c00-ac8b-d9b9a56d8733 - - ed722a1d-04a1-4873-acb5-375b0a3652f9 - - 4a7a8bca-ad26-4565-88b9-d2462e14c5fb - - 9151c86f-ce3a-49cd-b864-d93ed2629445 + - 0edc3f7f-6e53-465d-b58f-1eff38d98144 + - e9e9774b-d3ab-4954-ae89-90417cb4b53d + - 1153211c-c739-478e-8096-9bda7fcde96c + - fd207c7d-0981-4be5-94b3-46fe533f698f status: code: 200 message: OK @@ -298,7 +298,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller list + - networkfabric controller list Connection: - keep-alive ParameterSetName: @@ -309,16 +309,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","name":"nfa-tool-ts-nfc060223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T05:39:38.5844335Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-05T07:01:32.9373857Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc060223-HostedResources-4166D7B2"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkfabrics/nfa-tool-ts-nf060523"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","name":"nfa-tool-ts-nfc1-061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:00:37.4775301Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T07:27:05.6494666Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":""}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":""}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc1-061223-HostedResources-6874933D"},"provisioningState":"Deleting","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061223","name":"nfa-tool-ts-cli-nfc061223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:47:44.6968717Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:47:44.6968717Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061223-HostedResources-41728393"},"provisioningState":"Accepted"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc060223","name":"nfa-tool-ts-nfc060223","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-05T05:39:38.5844335Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-12T10:07:08.746557Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"ipv4AddressSpace":"10.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"ssabcdefghabcdefgh"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-nfc060223-HostedResources-4166D7B2"},"provisioningState":"Succeeded","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["10.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["10.0.28.0/22"],"ipv6AddressSpaces":[]},"networkFabricIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/nfa-tool-ts-clisdktest-nfrg060523/providers/microsoft.managednetworkfabric/networkfabrics/nfa-tool-ts-nf060523"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","name":"nfa-tool-ts-cli-nfc061323","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:07:44.2597811Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:07:44.2597811Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061323-HostedResources-6EDA7BAC"},"provisioningState":"Deleting","operationalState":"Succeeded","workloadManagementNetwork":true,"infrastructureServices":{"ipv4AddressSpaces":["20.0.0.0/21"],"ipv6AddressSpaces":[]},"workloadServices":{"ipv4AddressSpaces":["20.0.28.0/22"],"ipv6AddressSpaces":[]}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061423","name":"nfa-tool-ts-cli-nfc061423","type":"microsoft.managednetworkfabric/networkfabriccontrollers","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:41:36.8480599Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:41:36.8480599Z"},"properties":{"infrastructureExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"ipv4AddressSpace":"20.0.0.0/19","workloadExpressRouteConnections":[{"expressRouteCircuitId":"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/example-circuit"}],"managedResourceGroupConfiguration":{"location":"eastus","name":"nfa-tool-ts-cli-nfc061423-HostedResources-13F9FE1E"},"provisioningState":"Accepted"}}]}' headers: cache-control: - no-cache content-length: - - '3757' + - '3983' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:52 GMT + - Wed, 14 Jun 2023 02:41:44 GMT expires: - '-1' pragma: @@ -330,10 +330,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 13255c05-4e4e-4336-bab6-f1748248aee5 - - dad39d48-2c0e-495f-9797-44272b1269ce - - 8d975fa2-a377-42dd-af43-236ed28b84cd - - 07071ed0-0fae-4887-af8b-5e223cd372ec + - 6fcdcbf3-f298-48fa-b034-409cebeb65ed + - f4a7e40b-7bad-49bc-8216-fa0f330e80f0 + - ad7e805c-cd6d-4708-a9f2-14001343e74e + - 5610433d-bdb2-4982-919a-5970e5ea92ac status: code: 200 message: OK diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml index 4253096cbf0..81d0b3e3829 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nfc_scenario2.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive Content-Length: @@ -17,13 +17,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -31,15 +31,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:38 GMT + - Wed, 14 Jun 2023 02:41:33 GMT etag: - - '"b103b8ed-0000-0100-0000-6486cd9b0000"' + - '"69049a94-0000-0100-0000-648928de0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview mise-correlation-id: - - f5377416-f011-4959-8d32-5b09ed5470e5 + - a8368d95-b7a3-49b7-82e2-f2934e7868d8 pragma: - no-cache strict-transport-security: @@ -49,7 +49,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted @@ -61,7 +61,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -69,21 +69,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:47:39 GMT + - Wed, 14 Jun 2023 02:41:34 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -103,7 +103,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -111,21 +111,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:48:10 GMT + - Wed, 14 Jun 2023 02:42:06 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -153,21 +153,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:48:40 GMT + - Wed, 14 Jun 2023 02:42:37 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -187,7 +187,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -195,21 +195,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:49:10 GMT + - Wed, 14 Jun 2023 02:43:10 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -229,7 +229,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -237,21 +237,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:49:40 GMT + - Wed, 14 Jun 2023 02:43:42 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -279,21 +279,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:50:11 GMT + - Wed, 14 Jun 2023 02:44:13 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -313,7 +313,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -321,21 +321,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:50:41 GMT + - Wed, 14 Jun 2023 02:44:44 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -355,7 +355,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -363,21 +363,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:51:12 GMT + - Wed, 14 Jun 2023 02:45:15 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -397,7 +397,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -405,21 +405,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:51:42 GMT + - Wed, 14 Jun 2023 02:45:46 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -439,7 +439,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -447,21 +447,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:52:12 GMT + - Wed, 14 Jun 2023 02:46:16 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -481,7 +481,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -489,21 +489,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:52:43 GMT + - Wed, 14 Jun 2023 02:46:48 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -523,7 +523,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -531,21 +531,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:53:13 GMT + - Wed, 14 Jun 2023 02:47:19 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -565,7 +565,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -573,21 +573,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:53:43 GMT + - Wed, 14 Jun 2023 02:47:50 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -607,7 +607,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -615,21 +615,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:54:13 GMT + - Wed, 14 Jun 2023 02:48:21 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -649,7 +649,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -657,21 +657,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:54:44 GMT + - Wed, 14 Jun 2023 02:48:53 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -691,7 +691,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -699,21 +699,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:55:15 GMT + - Wed, 14 Jun 2023 02:49:23 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -733,7 +733,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -741,21 +741,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:55:45 GMT + - Wed, 14 Jun 2023 02:49:54 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -775,7 +775,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -783,21 +783,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:56:16 GMT + - Wed, 14 Jun 2023 02:50:25 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -817,7 +817,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -825,21 +825,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:56:46 GMT + - Wed, 14 Jun 2023 02:50:56 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -859,7 +859,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -867,21 +867,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:57:16 GMT + - Wed, 14 Jun 2023 02:51:27 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -901,7 +901,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -909,21 +909,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:57:46 GMT + - Wed, 14 Jun 2023 02:51:58 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -943,7 +943,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -951,21 +951,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:58:18 GMT + - Wed, 14 Jun 2023 02:52:29 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -985,7 +985,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -993,21 +993,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:58:48 GMT + - Wed, 14 Jun 2023 02:53:00 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1027,7 +1027,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1035,21 +1035,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:59:18 GMT + - Wed, 14 Jun 2023 02:53:31 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1069,7 +1069,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1077,21 +1077,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:59:49 GMT + - Wed, 14 Jun 2023 02:54:02 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1111,7 +1111,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1119,21 +1119,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:00:19 GMT + - Wed, 14 Jun 2023 02:54:34 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1153,7 +1153,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1161,21 +1161,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:00:49 GMT + - Wed, 14 Jun 2023 02:55:04 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1195,7 +1195,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1203,21 +1203,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:01:20 GMT + - Wed, 14 Jun 2023 02:55:35 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1237,7 +1237,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1245,21 +1245,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:01:50 GMT + - Wed, 14 Jun 2023 02:56:06 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1279,7 +1279,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1287,21 +1287,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Deleting","startTime":"2023-06-14T02:41:33.9881954Z"}' headers: cache-control: - no-cache content-length: - - '619' + - '621' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:02:20 GMT + - Wed, 14 Jun 2023 02:56:37 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' + - '"9803714f-0000-0100-0000-648928dd0000"' expires: - '-1' pragma: @@ -1321,7 +1321,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1329,105 +1329,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Succeeded","startTime":"2023-06-14T02:41:33.9881954Z","properties":null}' headers: cache-control: - no-cache content-length: - - '619' + - '640' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:02:51 GMT + - Wed, 14 Jun 2023 02:57:07 GMT etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf controller delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Deleting","startTime":"2023-06-12T07:47:38.7819792Z"}' - headers: - cache-control: - - no-cache - content-length: - - '619' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 08:03:21 GMT - etag: - - '"70035a04-0000-0100-0000-6486cd9a0000"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - nf controller delete - Connection: - - keep-alive - ParameterSetName: - - --resource-name --resource-group - User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Succeeded","startTime":"2023-06-12T07:47:38.7819792Z","properties":null}' - headers: - cache-control: - - no-cache - content-length: - - '638' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 12 Jun 2023 08:03:52 GMT - etag: - - '"690068c4-0000-0500-0000-6486d1680000"' + - '"7900ad8d-0000-0500-0000-64892c6f0000"' expires: - '-1' pragma: @@ -1451,7 +1367,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf controller delete + - networkfabric controller delete Connection: - keep-alive ParameterSetName: @@ -1459,21 +1375,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","name":"1de06b0f-a2e8-4086-b467-057cd3ee224b*8DFAA41C4DA6ACAA15F527C6745B74B5F439EC1EE74E5E888785CBCE0D7018D5","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-nfc1-061223","status":"Succeeded","startTime":"2023-06-12T07:47:38.7819792Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","name":"50127353-88d8-4784-b92f-810ed1933c64*DE16F89F06C07A6C8C27BC39D75105791A82DC987E769F64C2ADD4E9D32EC112","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/nfa-tool-ts-cli-nfc061323","status":"Succeeded","startTime":"2023-06-14T02:41:33.9881954Z","properties":null}' headers: cache-control: - no-cache content-length: - - '638' + - '640' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 08:03:52 GMT + - Wed, 14 Jun 2023 02:57:08 GMT etag: - - '"690068c4-0000-0500-0000-6486d1680000"' + - '"7900ad8d-0000-0500-0000-64892c6f0000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml index 041d8a07ed3..0ace1eb9bae 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_nni_scenario1.yaml @@ -12,7 +12,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf nni create + - networkfabric nni create Connection: - keep-alive Content-Length: @@ -28,7 +28,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:59:06.1462681Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:59:06.1462681Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:52:47.6736218Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:52:47.6736218Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -37,13 +37,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:59:09 GMT + - Wed, 14 Jun 2023 02:52:48 GMT etag: - - '"00005e20-0000-0100-0000-6486ec6d0000"' + - '"0000ae21-0000-0100-0000-64892b810000"' expires: - '-1' mise-correlation-id: - - 1d5db3e8-efa4-4b83-8e05-dac7d70a4d9a + - bea7fb64-41dd-4262-a01c-229c53c73799 pragma: - no-cache strict-transport-security: @@ -69,7 +69,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf nni show + - networkfabric nni show Connection: - keep-alive ParameterSetName: @@ -80,7 +80,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:59:06.1462681Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:59:06.1462681Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:52:47.6736218Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:52:47.6736218Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -89,9 +89,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:59:13 GMT + - Wed, 14 Jun 2023 02:52:50 GMT etag: - - '"00005e20-0000-0100-0000-6486ec6d0000"' + - '"0000ae21-0000-0100-0000-64892b810000"' expires: - '-1' pragma: @@ -117,7 +117,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf nni list + - networkfabric nni list Connection: - keep-alive ParameterSetName: @@ -128,7 +128,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T09:59:06.1462681Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T09:59:06.1462681Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/networkFabrics/nfa-tool-ts-cli-nf1-061223/networkToNetworkInterconnects/nfa-tool-ts-cli-nni061223","name":"nfa-tool-ts-cli-nni061223","type":"microsoft.managednetworkfabric/networkfabrics/networktonetworkinterconnects","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:52:47.6736218Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:52:47.6736218Z"},"properties":{"isManagementType":"True","layer2Configuration":{"mtu":1500,"portCount":3},"layer3Configuration":{"exportRoutePolicyId":"","importRoutePolicyId":"","peerASN":65535,"primaryIpv4Prefix":"20.20.0.0/27","primaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","secondaryIpv4Prefix":"20.20.0.0/25","secondaryIpv6Prefix":"3FFE:FFFF:0:CD30::a4/127","vlanId":600},"useOptionB":"True","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -137,7 +137,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 09:59:15 GMT + - Wed, 14 Jun 2023 02:52:51 GMT expires: - '-1' pragma: @@ -163,7 +163,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf nni delete + - networkfabric nni delete Connection: - keep-alive Content-Length: @@ -183,11 +183,11 @@ interactions: content-length: - '0' date: - - Mon, 12 Jun 2023 09:59:18 GMT + - Wed, 14 Jun 2023 02:52:54 GMT expires: - '-1' mise-correlation-id: - - c67d67e7-e4bf-4525-aeb8-a4a8dfa4bb3c + - 4e14dcb7-5ec1-4894-8012-d2135ded66cc pragma: - no-cache strict-transport-security: @@ -197,7 +197,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 200 message: OK diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml index 117b7f0756e..d2f89693889 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario1.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive ParameterSetName: @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:11 GMT + - Wed, 14 Jun 2023 02:20:46 GMT expires: - '-1' pragma: @@ -149,7 +149,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive Content-Length: @@ -161,27 +161,27 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:17.6846934Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Accepted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:20:51.042021Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:20:53.9117788Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Accepted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e036a575-e2a3-43bd-8d1a-5bd32b12c150*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview cache-control: - no-cache content-length: - - '1377' + - '1376' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:19 GMT + - Wed, 14 Jun 2023 02:20:54 GMT etag: - - '"660b31fe-0000-0100-0000-6486cc1e0000"' + - '"b80bff46-0000-0100-0000-648924060000"' expires: - '-1' mise-correlation-id: - - 915315bc-8801-4d0f-a67f-499250e44ade + - 408a2089-e880-41f6-a3c7-1d403d22f00f pragma: - no-cache strict-transport-security: @@ -203,7 +203,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive ParameterSetName: @@ -211,10 +211,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e036a575-e2a3-43bd-8d1a-5bd32b12c150*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"1ddf8c5b-0276-4d80-bcef-e512e0f4ffb2*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:18.5769686Z","endTime":"2023-06-12T07:41:19.4316867Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/e036a575-e2a3-43bd-8d1a-5bd32b12c150*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"e036a575-e2a3-43bd-8d1a-5bd32b12c150*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Succeeded","startTime":"2023-06-14T02:20:54.0981648Z","endTime":"2023-06-14T02:20:54.6778839Z","properties":null}' headers: cache-control: - no-cache @@ -223,9 +223,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:20 GMT + - Wed, 14 Jun 2023 02:20:55 GMT etag: - - '"6f03adef-0000-0100-0000-6486cc1f0000"' + - '"98038628-0000-0100-0000-648924060000"' expires: - '-1' pragma: @@ -249,7 +249,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive ParameterSetName: @@ -257,21 +257,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:17.6846934Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:20:51.042021Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:20:53.9117788Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1378' + - '1377' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:21 GMT + - Wed, 14 Jun 2023 02:20:56 GMT etag: - - '"660b49fe-0000-0100-0000-6486cc1f0000"' + - '"b80b0847-0000-0100-0000-648924060000"' expires: - '-1' pragma: @@ -297,7 +297,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy show + - networkfabric routepolicy show Connection: - keep-alive ParameterSetName: @@ -305,21 +305,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:20:51.042021Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:20:53.9117788Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1378' + - '1377' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:31 GMT + - Wed, 14 Jun 2023 02:20:57 GMT etag: - - '"660b6efe-0000-0100-0000-6486cc220000"' + - '"b80b0847-0000-0100-0000-648924060000"' expires: - '-1' pragma: @@ -345,7 +345,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy list + - networkfabric routepolicy list Connection: - keep-alive User-Agent: @@ -354,16 +354,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-Fab1-l3domain-connsubnet-ext-policy","name":"rcf-Fab1-l3domain-connsubnet-ext-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-05-09T10:31:48.9140534Z","lastModifiedBy":"v-akurapati@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-09T10:31:48.9140534Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":[""]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-fab1-l3domain-exp-policy","name":"rcf-fab1-l3domain-exp-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:42:17.2794193Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T18:10:06.5772621Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/ipprefixv4internalnetwork1export"},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipcommunityinternalexport"]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-fab1-l3domain-imp-policy","name":"rcf-fab1-l3domain-imp-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:53:09.3010194Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T18:10:05.5146214Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/ipprefixv4internalnetwork1import"},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipcommunityinternalimport"]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-Fab1-l3domain-connsubnet-ext-policy","name":"rcf-Fab1-l3domain-connsubnet-ext-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-05-09T10:31:48.9140534Z","lastModifiedBy":"v-akurapati@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-09T10:31:48.9140534Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":[""]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:20:51.042021Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:20:53.9117788Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '2159' + - '4318' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:33 GMT + - Wed, 14 Jun 2023 02:20:58 GMT expires: - '-1' pragma: @@ -375,10 +375,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - bee8b063-0b56-442e-86f6-260735c41710 - - d8104ec5-f784-49f7-b40b-23d02f7a0a69 - - c81178e2-7a4a-40a9-a99c-a9d006b8d8bf - - 488fbd00-31ac-41d1-ae19-ce38521c5fe4 + - 4d1dbfa1-da7d-42b3-897e-9f329c636e0d + - c858f513-69d5-49e4-b063-857ea972c517 + - 85d7c9d4-b403-4a10-ab1a-3aa5d07b9e6e + - e4a06bcf-2ba3-48b8-a2b7-32745857b7d5 status: code: 200 message: OK @@ -390,7 +390,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy list + - networkfabric routepolicy list Connection: - keep-alive ParameterSetName: @@ -401,16 +401,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview response: body: - string: '{"value":[]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:20:51.042021Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:20:53.9117788Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '12' + - '1389' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:46 GMT + - Wed, 14 Jun 2023 02:21:00 GMT expires: - '-1' pragma: @@ -422,10 +422,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 2a51d47e-fe8f-4ee4-b7cb-1967bf09b5fc - - 1774537e-10d7-4190-b87a-e6d8435e1526 - - 9c9ef938-dbce-4a7a-a329-e43e283c8f26 - - c6926b29-266c-4f1b-9153-1b8f1524cada + - 70e0ad17-5a66-41b6-8b05-a34a85775320 + - 234f26bf-ac73-49ec-9e60-fcff20f5cd30 + - 4d5f0258-63fe-4888-972d-2cf203bcdf31 + - 64d9a8a7-312a-4e0b-af52-a4523ef19071 status: code: 200 message: OK @@ -437,7 +437,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy delete + - networkfabric routepolicy delete Connection: - keep-alive Content-Length: @@ -447,17 +447,29 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '' + string: 'null' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview cache-control: - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:53 GMT + - Wed, 14 Jun 2023 02:21:02 GMT + etag: + - '"b80b4448-0000-0100-0000-6489240e0000"' expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview + mise-correlation-id: + - 26e5a4d2-1a83-477e-ae88-130ad14bcf5e pragma: - no-cache strict-transport-security: @@ -469,6 +481,98 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: - code: 204 - message: No Content + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric routepolicy delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Succeeded","startTime":"2023-06-14T02:21:02.4686135Z","endTime":"2023-06-14T02:21:02.9327073Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '677' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:21:03 GMT + etag: + - '"9803a228-0000-0100-0000-6489240e0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric routepolicy delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"fb628b55-7ac3-4190-8a1a-c7d295efbf78*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Succeeded","startTime":"2023-06-14T02:21:02.4686135Z","endTime":"2023-06-14T02:21:02.9327073Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '677' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:21:03 GMT + etag: + - '"9803a228-0000-0100-0000-6489240e0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK version: 1 diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml index 01f9d042a61..b2176ba7718 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/recordings/test_route_policy_scenario2.yaml @@ -7,7 +7,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive ParameterSetName: @@ -123,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:10 GMT + - Wed, 14 Jun 2023 02:19:13 GMT expires: - '-1' pragma: @@ -150,7 +150,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive Content-Length: @@ -162,13 +162,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Accepted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:17.7706101Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:17.7706101Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Accepted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/8f802884-6dd3-48db-a839-3f83adf2545d*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -176,13 +176,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:22 GMT + - Wed, 14 Jun 2023 02:19:19 GMT etag: - - '"660b67fe-0000-0100-0000-6486cc220000"' + - '"b80b513b-0000-0100-0000-648923a60000"' expires: - '-1' mise-correlation-id: - - 743fb3d0-ea62-4240-9de2-8edb7a73aa9d + - fa8ed602-33ec-483e-84df-f012028010ac pragma: - no-cache strict-transport-security: @@ -204,7 +204,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive ParameterSetName: @@ -212,21 +212,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/8f802884-6dd3-48db-a839-3f83adf2545d*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"1434a590-e6fe-49d9-8e78-5ef6fa987dbc*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:21.9651079Z","endTime":"2023-06-12T07:41:22.4661626Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/8f802884-6dd3-48db-a839-3f83adf2545d*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"8f802884-6dd3-48db-a839-3f83adf2545d*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Succeeded","startTime":"2023-06-14T02:19:18.8674088Z","endTime":"2023-06-14T02:19:20.146161Z","properties":null}' headers: cache-control: - no-cache content-length: - - '677' + - '676' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:23 GMT + - Wed, 14 Jun 2023 02:19:20 GMT etag: - - '"6f03f2ef-0000-0100-0000-6486cc220000"' + - '"98037522-0000-0100-0000-648923a80000"' expires: - '-1' pragma: @@ -250,7 +250,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy create + - networkfabric routepolicy create Connection: - keep-alive ParameterSetName: @@ -258,21 +258,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:17.7706101Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:17.7706101Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1378' + - '1424' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:24 GMT + - Wed, 14 Jun 2023 02:19:21 GMT etag: - - '"660b6efe-0000-0100-0000-6486cc220000"' + - '"b80b643b-0000-0100-0000-648923a80000"' expires: - '-1' pragma: @@ -298,7 +298,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy show + - networkfabric routepolicy show Connection: - keep-alive ParameterSetName: @@ -306,21 +306,21 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:17.7706101Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:20.7209453Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Updating"}}' headers: cache-control: - no-cache content-length: - - '1378' + - '1423' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:29 GMT + - Wed, 14 Jun 2023 02:19:22 GMT etag: - - '"660b6efe-0000-0100-0000-6486cc220000"' + - '"b80b7e3b-0000-0100-0000-648923aa0000"' expires: - '-1' pragma: @@ -346,7 +346,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy list + - networkfabric routepolicy list Connection: - keep-alive User-Agent: @@ -355,16 +355,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-Fab1-l3domain-connsubnet-ext-policy","name":"rcf-Fab1-l3domain-connsubnet-ext-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-05-09T10:31:48.9140534Z","lastModifiedBy":"v-akurapati@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-09T10:31:48.9140534Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":[""]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-fab1-l3domain-exp-policy","name":"rcf-fab1-l3domain-exp-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:42:17.2794193Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T18:10:06.5772621Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/ipprefixv4internalnetwork1export"},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipcommunityinternalexport"]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-fab1-l3domain-imp-policy","name":"rcf-fab1-l3domain-imp-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus2euap","systemData":{"createdBy":"v-abalka@microsoft.com","createdByType":"User","createdAt":"2023-06-13T17:53:09.3010194Z","lastModifiedBy":"d1bd24c7-b27f-477e-86dd-939e107873d7","lastModifiedByType":"Application","lastModifiedAt":"2023-06-13T18:10:05.5146214Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/ipprefixv4internalnetwork1import"},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fab1nfrg061323/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipcommunityinternalimport"]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ankitha-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/rcf-Fab1-l3domain-connsubnet-ext-policy","name":"rcf-Fab1-l3domain-connsubnet-ext-policy","type":"microsoft.managednetworkfabric/routepolicies","location":"westus3","systemData":{"createdBy":"v-akurapati@microsoft.com","createdByType":"User","createdAt":"2023-05-09T10:31:48.9140534Z","lastModifiedBy":"v-akurapati@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-09T10:31:48.9140534Z"},"properties":{"statements":[{"sequenceNumber":10,"condition":{},"action":{"actionType":"Permit","ipCommunityProperties":{"set":{"ipCommunityIds":[""]}}}}],"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:17.7706101Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:20.7209453Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '2159' + - '4365' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:31 GMT + - Wed, 14 Jun 2023 02:19:23 GMT expires: - '-1' pragma: @@ -376,10 +376,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 6d8c824b-3fd7-4555-b66c-ecc99c7d502f - - 70c7885d-9dbe-4e7c-92f7-ab06da75c54d - - 28525f17-2a54-4d1f-9706-6595b1cfe412 - - 622f268e-a49e-4437-adb6-5205c7c66b2d + - f597a045-d1bf-44f6-bb65-85bf82041b03 + - 3efe5dae-dd24-4dcc-b66c-3ec46f96a169 + - 5d821260-a2c3-4cda-a510-19fd3aea2fe6 + - 4c7843ed-1532-4a1d-8369-5cb8b9ca92f3 status: code: 200 message: OK @@ -391,7 +391,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy list + - networkfabric routepolicy list Connection: - keep-alive ParameterSetName: @@ -402,16 +402,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies?api-version=2023-02-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","name":"nfa-tool-ts-cli-routepolicy061223","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-12T07:41:17.6846934Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-12T07:41:21.0160551Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipCommunityProperties":{"add":{"ipCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipCommunities/nfa-tool-ts-cli-ipcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","name":"nfa-tool-ts-cli-routepolicy061423","type":"microsoft.managednetworkfabric/routepolicies","location":"eastus","systemData":{"createdBy":"v-rmarimuthu@microsoft.com","createdByType":"User","createdAt":"2023-06-14T02:19:17.7706101Z","lastModifiedBy":"v-rmarimuthu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-14T02:19:20.7209453Z"},"properties":{"statements":[{"sequenceNumber":1214,"condition":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"],"ipPrefixId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/nfa-tool-ts-cli-ipprefix1-061223"},"action":{"localPreference":113,"actionType":"Permit","ipExtendedCommunityProperties":{"add":{"ipExtendedCommunityIds":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfcrg060523/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/nfa-tool-ts-cli-ipextcommunity1-061223"]}}}}],"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '1390' + - '1436' content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:32 GMT + - Wed, 14 Jun 2023 02:19:23 GMT expires: - '-1' pragma: @@ -423,10 +423,10 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - c8eff070-140f-4507-b406-96eb7de4496a - - 59d68ff2-aeba-4fec-918f-6cdfe94d257a - - 89609ccd-32ee-4d77-8ccc-d3ed882b5113 - - babd3554-a8ef-484f-8201-456e26d71d7f + - 2eb08301-d5ad-4647-9929-3f2e3867d17b + - 07fb955a-de23-4b4c-bdce-3155f5f9e40a + - a92a8ae4-bc7f-40bb-a092-56b1a8b1f5cd + - a1d93668-5e42-4a53-9ab9-632183eb5142 status: code: 200 message: OK @@ -438,7 +438,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy delete + - networkfabric routepolicy delete Connection: - keep-alive Content-Length: @@ -448,13 +448,13 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423?api-version=2023-02-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview cache-control: - no-cache content-length: @@ -462,15 +462,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:35 GMT + - Wed, 14 Jun 2023 02:19:24 GMT etag: - - '"670b2e00-0000-0100-0000-6486cc300000"' + - '"b80b9c3b-0000-0100-0000-648923ad0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview mise-correlation-id: - - fc47bda8-cbf4-460a-bc90-5ef215c3e6d7 + - 71a5fc37-da9d-4a0f-835a-60b06ac053db pragma: - no-cache strict-transport-security: @@ -492,7 +492,49 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy delete + - networkfabric routepolicy delete + Connection: + - keep-alive + ParameterSetName: + - --resource-name --resource-group + User-Agent: + - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Updating","startTime":"2023-06-14T02:19:25.4538713Z"}' + headers: + cache-control: + - no-cache + content-length: + - '617' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Jun 2023 02:19:25 GMT + etag: + - '"9803b422-0000-0100-0000-648923ad0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - networkfabric routepolicy delete Connection: - keep-alive ParameterSetName: @@ -500,10 +542,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:36.7150719Z","endTime":"2023-06-12T07:41:37.1236675Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Succeeded","startTime":"2023-06-14T02:19:25.4538713Z","endTime":"2023-06-14T02:19:25.8861701Z","properties":null}' headers: cache-control: - no-cache @@ -512,9 +554,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:36 GMT + - Wed, 14 Jun 2023 02:19:55 GMT etag: - - '"6f0323f1-0000-0100-0000-6486cc310000"' + - '"9803ba22-0000-0100-0000-648923ad0000"' expires: - '-1' pragma: @@ -538,7 +580,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - nf routepolicy delete + - networkfabric routepolicy delete Connection: - keep-alive ParameterSetName: @@ -546,10 +588,10 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.4 Python/3.8.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797?api-version=2023-02-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0?api-version=2023-02-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","name":"b64f23cb-4d9b-4304-ae1e-b91c4ec01460*034B9DA378CBB417CAB7CA57CD0B5433AAB2190B0105D353F366398AACF22797","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061223","status":"Succeeded","startTime":"2023-06-12T07:41:36.7150719Z","endTime":"2023-06-12T07:41:37.1236675Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ManagedNetworkFabric/locations/EASTUS/operationStatuses/c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","name":"c1db0ca8-5bc9-40b7-ab44-b89e7772bca0*D151D6B4864CA13859B46DA8F0E329119AD80990BFB1F452E9AD20500DF473C0","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nfa-tool-ts-clisdktest-nfrg060523/providers/Microsoft.ManagedNetworkFabric/routePolicies/nfa-tool-ts-cli-routepolicy061423","status":"Succeeded","startTime":"2023-06-14T02:19:25.4538713Z","endTime":"2023-06-14T02:19:25.8861701Z","properties":null}' headers: cache-control: - no-cache @@ -558,9 +600,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 12 Jun 2023 07:41:37 GMT + - Wed, 14 Jun 2023 02:19:56 GMT etag: - - '"6f0323f1-0000-0100-0000-6486cc310000"' + - '"9803ba22-0000-0100-0000-648923ad0000"' expires: - '-1' pragma: diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py index 179e3d18a98..5d7b55c1812 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_device.py @@ -35,7 +35,7 @@ def step_update(test, checks=None): '''Device create operation''' if checks is None: checks = [] - test.cmd('az nf device update --resource-group {rg} --resource-name {name} ' + test.cmd('az networkfabric device update --resource-group {rg} --resource-name {name} ' ' --serial-number {serial_number}', checks=checks) def step_show(test, checks=None): @@ -43,19 +43,19 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf device show --resource-name {name} --resource-group {rg}') + 'az networkfabric device show --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''Device list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf device list --resource-group {rg}') + test.cmd('az networkfabric device list --resource-group {rg}') def step_list_subscription(test, checks=None): '''Device list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf device list') + test.cmd('az networkfabric device list') class DeviceScenarioTest1(ScenarioTest): ''' DeviceScenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py index 020dfda3e55..a3e9b0614c7 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_externalnetwork.py @@ -33,27 +33,27 @@ def step_create(test, checks=None): '''externalnetwork create operation''' if checks is None: checks = [] - test.cmd('az nf externalnetwork create --resource-group {rg} --l3domain {l3domain} --resource-name {name} --peering-option {peering_option} --option-a-properties {optionAProperties} --option-b-properties {optionBProperties}', checks=checks) + test.cmd('az networkfabric externalnetwork create --resource-group {rg} --l3domain {l3domain} --resource-name {name} --peering-option {peering_option} --option-a-properties {optionAProperties} --option-b-properties {optionBProperties}', checks=checks) def step_show(test, checks=None): '''externalnetwork show operation''' if checks is None: checks = [] test.cmd( - 'az nf externalnetwork show --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + 'az networkfabric externalnetwork show --resource-name {name} --l3domain {l3domain} --resource-group {rg}') def step_delete(test, checks=None): '''externalnetwork delete operation''' if checks is None: checks = [] test.cmd( - 'az nf externalnetwork delete --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + 'az networkfabric externalnetwork delete --resource-name {name} --l3domain {l3domain} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''externalnetwork list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf externalnetwork list --resource-group {rg} --l3domain {l3domain}') + test.cmd('az networkfabric externalnetwork list --resource-group {rg} --l3domain {l3domain}') class ExternalNetworkScenarioTest1(ScenarioTest): ''' External Network Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py index 6111993383f..079e4a01a93 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_interface.py @@ -34,25 +34,25 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf interface show --resource-name {name} --resource-group {rg} --device {device_name}') + 'az networkfabric interface show --resource-name {name} --resource-group {rg} --device {device_name}') def step_list_resource_group(test, checks=None): '''Interface list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf interface list --resource-group {rg} --device {device_name}') + test.cmd('az networkfabric interface list --resource-group {rg} --device {device_name}') def step_update_admin_state_Enable(test, checks=None): '''Interface Update admin state Enable operation''' if checks is None: checks = [] - test.cmd('az nf interface update-admin-state --resource-group {rg} --device {device_name} --resource-name {name} --state {state_Enable}') + test.cmd('az networkfabric interface update-admin-state --resource-group {rg} --device {device_name} --resource-name {name} --state {state_Enable}') def step_update_admin_state_Disable(test, checks=None): '''Interface Update admin state Disable operation''' if checks is None: checks = [] - test.cmd('az nf interface update-admin-state --resource-group {rg} --device {device_name} --resource-name {name} --state {state_Disable}') + test.cmd('az networkfabric interface update-admin-state --resource-group {rg} --device {device_name} --resource-name {name} --state {state_Disable}') class InterfaceScenarioTest1(ScenarioTest): ''' InterfaceScenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py index d1f14368b34..143832a3321 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_internalnetwork.py @@ -33,7 +33,7 @@ def step_create(test, checks=None): '''internalnetwork create operation''' if checks is None: checks = [] - test.cmd('az nf internalnetwork create --resource-group {rg} --l3-isolation-domain-name {l3domain} --resource-name {name} --vlan-id {vlan_id}' + test.cmd('az networkfabric internalnetwork create --resource-group {rg} --l3-isolation-domain-name {l3domain} --resource-name {name} --vlan-id {vlan_id}' ' --mtu {mtu} --connected-ipv4-subnets {connectedIpv4Subnets} --connected-ipv6-subnets {connectedIpv6Subnets} --static-route-configuration {staticRouteConf} --bgp-configuration {bgpConf} --no-wait', checks=checks) def step_show(test, checks=None): @@ -41,20 +41,20 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf internalnetwork show --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + 'az networkfabric internalnetwork show --resource-name {name} --l3domain {l3domain} --resource-group {rg}') def step_delete(test, checks=None): '''internalnetwork delete operation''' if checks is None: checks = [] test.cmd( - 'az nf internalnetwork delete --resource-name {name} --l3domain {l3domain} --resource-group {rg}') + 'az networkfabric internalnetwork delete --resource-name {name} --l3domain {l3domain} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''internalnetwork list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf internalnetwork list --resource-group {rg} --l3domain {l3domain}') + test.cmd('az networkfabric internalnetwork list --resource-group {rg} --l3domain {l3domain}') class InternalNetworkScenarioTest1(ScenarioTest): ''' Internal Network Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py index 21e490f1cfb..652680f8fe2 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipcommunity.py @@ -34,7 +34,7 @@ def step_create(test, checks=None): '''ipcommunity create operation''' if checks is None: checks = [] - test.cmd('az nf ipcommunity create --resource-group {rg} --location {location} --resource-name {name} ' + test.cmd('az networkfabric ipcommunity create --resource-group {rg} --location {location} --resource-name {name} ' ' --action {action} --well-known-communities {well_known_communities} --community-members {community_members}', checks=checks) def step_show(test, checks=None): @@ -42,26 +42,26 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf ipcommunity show --resource-name {name} --resource-group {rg}') + 'az networkfabric ipcommunity show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''ipcommunity delete operation''' if checks is None: checks = [] test.cmd( - 'az nf ipcommunity delete --resource-name {name} --resource-group {rg}') + 'az networkfabric ipcommunity delete --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''ipcommunity list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf ipcommunity list --resource-group {rg}') + test.cmd('az networkfabric ipcommunity list --resource-group {rg}') def step_list_subscription(test, checks=None): '''ipcommunity list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf ipcommunity list') + test.cmd('az networkfabric ipcommunity list') class IpCommunityScenarioTest1(ScenarioTest): ''' Ip Community Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py index d872c8bd812..01d6ca8d1cc 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipextendedcommunity.py @@ -34,32 +34,32 @@ def step_create(test, checks=None): '''ipextendedcommunity create operation''' if checks is None: checks = [] - test.cmd('az nf ipextendedcommunity create --resource-group {rg} --location {location} --resource-name {name}' + test.cmd('az networkfabric ipextendedcommunity create --resource-group {rg} --location {location} --resource-name {name}' ' --action {action} --route-targets {route_targets}', checks=checks) def step_show(test, checks=None): '''ipextendedcommunity show operation''' if checks is None: checks = [] - test.cmd('az nf ipextendedcommunity show --resource-name {name} --resource-group {rg}') + test.cmd('az networkfabric ipextendedcommunity show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''ipextendedcommunity delete operation''' if checks is None: checks = [] - test.cmd('az nf ipextendedcommunity delete --resource-name {name} --resource-group {rg}') + test.cmd('az networkfabric ipextendedcommunity delete --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''ipextendedcommunity list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf ipextendedcommunity list --resource-group {rg}') + test.cmd('az networkfabric ipextendedcommunity list --resource-group {rg}') def step_list_subscription(test, checks=None): '''ipextendedcommunity list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf ipextendedcommunity list') + test.cmd('az networkfabric ipextendedcommunity list') class IpExtendedCommunityScenarioTest1(ScenarioTest): ''' Ip Extended Community Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py index c088de82ac2..7298703cb9a 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_ipprefix.py @@ -35,35 +35,35 @@ def step_create(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf ipprefix create --resource-group {rg} --location {location} --resource-name {name} --ip-prefix-rules {ipPrefixRules} ', checks=checks) + 'az networkfabric ipprefix create --resource-group {rg} --location {location} --resource-name {name} --ip-prefix-rules {ipPrefixRules} ', checks=checks) def step_show(test, checks=None): '''ipprefix show operation''' if checks is None: checks = [] test.cmd( - 'az nf ipprefix show --resource-name {name} --resource-group {rg}') + 'az networkfabric ipprefix show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''ipprefix delete operation''' if checks is None: checks = [] test.cmd( - 'az nf ipprefix delete --resource-name {name} --resource-group {rg}') + 'az networkfabric ipprefix delete --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''ipprefix list by resource group operation''' if checks is None: checks = [] test.cmd( - 'az nf ipprefix list --resource-group {rg}') + 'az networkfabric ipprefix list --resource-group {rg}') def step_list_subscription(test, checks=None): '''ipprefix list by subscription operation''' if checks is None: checks = [] test.cmd( - 'az nf ipprefix list') + 'az networkfabric ipprefix list') class IpPrefixScenarioTest1(ScenarioTest): ''' IpPrefix Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py index 7c2167fd463..83a5a0650f9 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l2domain.py @@ -36,45 +36,45 @@ def step_create(test, checks=None): '''l2domain create operation''' if checks is None: checks = [] - test.cmd('az nf l2domain create --resource-group {rg} --resource-name {name} --location {location} --nf-id {nf_id} --vlan-id {vlan_id}', checks=checks) + test.cmd('az networkfabric l2domain create --resource-group {rg} --resource-name {name} --location {location} --nf-id {nf_id} --vlan-id {vlan_id}', checks=checks) def step_show(test, checks=None): '''l2domain show operation''' if checks is None: checks = [] test.cmd( - 'az nf l2domain show --resource-name {name} --resource-group {rg}') + 'az networkfabric l2domain show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''l2domain delete operation''' if checks is None: checks = [] test.cmd( - 'az nf l2domain delete --resource-name {name} --resource-group {rg}') + 'az networkfabric l2domain delete --resource-name {name} --resource-group {rg}') def step_list_subscription(test, checks=None): '''l2domain list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf l2domain list') + test.cmd('az networkfabric l2domain list') def step_list_resource_group(test, checks=None): '''l2domain list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf l2domain list --resource-group {rg}') + test.cmd('az networkfabric l2domain list --resource-group {rg}') def step_update_admin_state_Enable(test, checks=None): '''l2domain Update admin state operation''' if checks is None: checks = [] - test.cmd('az nf l2domain update-admin-state --resource-group {rg} --resource-name {name} --state {state_Enable} --no-wait') + test.cmd('az networkfabric l2domain update-admin-state --resource-group {rg} --resource-name {name} --state {state_Enable} --no-wait') def step_update_admin_state_Disable(test, checks=None): '''l2domain Update admin state operation''' if checks is None: checks = [] - test.cmd('az nf l2domain update-admin-state --resource-group {rg} --resource-name {name} --state {state_Disable} --no-wait') + test.cmd('az networkfabric l2domain update-admin-state --resource-group {rg} --resource-name {name} --state {state_Disable} --no-wait') class L2DomainScenarioTest1(ScenarioTest): ''' L2 Domain Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py index 70eea1f78f4..7dcb2557e03 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_l3domain.py @@ -48,7 +48,7 @@ def step_create(test, checks=None): '''l3domain create operation''' if checks is None: checks = [] - test.cmd('az nf l3domain create --resource-group {rg} --resource-name {name} --location {location} --nf-id {nf_id}' + test.cmd('az networkfabric l3domain create --resource-group {rg} --resource-name {name} --location {location} --nf-id {nf_id}' ' --redistribute-connected-subnets {redistributeConnectedSubnets} --redistribute-static-routes {redistributeStaticRoutes} ' ' --aggregate-route-configuration {aggregateRouteConf} --connected-subnet-route-policy {connectedSubnetRoutePolicy}', checks=checks) @@ -57,38 +57,38 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf l3domain show --resource-name {name} --resource-group {rg}') + 'az networkfabric l3domain show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''l3domain delete operation''' if checks is None: checks = [] test.cmd( - 'az nf l3domain delete --resource-name {name} --resource-group {rg}') + 'az networkfabric l3domain delete --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''l3domain list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf l3domain list --resource-group {rg}') + test.cmd('az networkfabric l3domain list --resource-group {rg}') def step_list_subscription(test, checks=None): '''l3domain list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf l3domain list') + test.cmd('az networkfabric l3domain list') def step_update_admin_state_Enable(test, checks=None): '''l3domain Update admin state operation''' if checks is None: checks = [] - test.cmd('az nf l3domain update-admin-state --resource-group {rg} --resource-name {resource_name} --state {state_Enable} --no-wait') + test.cmd('az networkfabric l3domain update-admin-state --resource-group {rg} --resource-name {resource_name} --state {state_Enable} --no-wait') def step_update_admin_state_Disable(test, checks=None): '''l3domain Update admin state operation''' if checks is None: checks = [] - test.cmd('az nf l3domain update-admin-state --resource-group {rg} --resource-name {resource_name} --state {state_Disable} --no-wait') + test.cmd('az networkfabric l3domain update-admin-state --resource-group {rg} --resource-name {resource_name} --state {state_Disable} --no-wait') class L3DomainScenarioTest1(ScenarioTest): ''' L3 Domain Scenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py index 9e64f7675aa..8cac4ae12f6 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nf.py @@ -49,7 +49,7 @@ def step_create(test, checks=None): '''nf create operation''' if checks is None: checks = [] - test.cmd('az nf fabric create --resource-group {rg} --location {location} --resource-name {name} --nf-sku {nf_sku} --nfc-id {nfc_id}' + test.cmd('az networkfabric fabric create --resource-group {rg} --location {location} --resource-name {name} --nf-sku {nf_sku} --nfc-id {nfc_id}' ' --fabric-asn {fabric_asn} --ipv4-prefix {ipv4_prefix} --ipv6-prefix {ipv6_prefix} --rack-count {rack_count} --server-count-per-rack {server_count_per_rack}' ' --ts-config {terminalServerConf} --managed-network-config {managedNetworkConf}', checks=checks) @@ -58,40 +58,40 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf fabric show --resource-name {name} --resource-group {rg}') + 'az networkfabric fabric show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''nf delete operation''' if checks is None: checks = [] test.cmd( - 'az nf fabric delete --resource-name {name} --resource-group {rg}') + 'az networkfabric fabric delete --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''nf list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf fabric list --resource-group {rg}') + test.cmd('az networkfabric fabric list --resource-group {rg}') def step_list_subscription(test, checks=None): '''nf list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf fabric list') + test.cmd('az networkfabric fabric list') def step_provision(test, checks=None): '''nf provision operation''' if checks is None: checks = [] test.cmd( - 'az nf fabric provision --resource-name {resource_name} --resource-group {rg}') + 'az networkfabric fabric provision --resource-name {resource_name} --resource-group {rg}') def step_deprovision(test, checks=None): '''nf deprovision operation''' if checks is None: checks = [] test.cmd( - 'az nf fabric deprovision --resource-name {resource_name} --resource-group {rg}') + 'az networkfabric fabric deprovision --resource-name {resource_name} --resource-group {rg}') class NFScenarioTest1(ScenarioTest): ''' NFScenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py index 121c25e360a..ac25e284fb2 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nfc.py @@ -49,7 +49,7 @@ def step_create(test, checks=None): '''nfc create operation''' if checks is None: checks = [] - test.cmd('az nf controller create --resource-group {rg} --location {location} --resource-name {name}' + test.cmd('az networkfabric controller create --resource-group {rg} --location {location} --resource-name {name}' ' --infra-er-connections {infraERConnections} --workload-er-connections {workloadERConnections}' ' --ipv4-address-space {ipv4AddressSpace} --no-wait' , checks=checks) @@ -58,26 +58,26 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf controller show --resource-name {name} --resource-group {rg}') + 'az networkfabric controller show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''nfc delete operation''' if checks is None: checks = [] test.cmd( - 'az nf controller delete --resource-name {nameDelete} --resource-group {rg}') + 'az networkfabric controller delete --resource-name {nameDelete} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''nfc list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf controller list --resource-group {rg}') + test.cmd('az networkfabric controller list --resource-group {rg}') def step_list_subscription(test, checks=None): '''nfc list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf controller list') + test.cmd('az networkfabric controller list') class NFCScenarioTest1(ScenarioTest): ''' NFCScenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py index 37d55879b73..acc18496ecc 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_nni.py @@ -33,7 +33,7 @@ def step_create(test, checks=None): '''nni create operation''' if checks is None: checks = [] - test.cmd('az nf nni create --resource-group {rg} --resource-name {name} --fabric {fabric}' + test.cmd('az networkfabric nni create --resource-group {rg} --resource-name {name} --fabric {fabric}' ' --is-management-type {isManagementType} --use-option-b {useOptionB}' ' --layer2-configuration {layer2Configuration}' ' --layer3-configuration {layer3Configuration}', checks=checks) @@ -43,20 +43,20 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf nni show --resource-name {name} --resource-group {rg} --fabric {fabric}') + 'az networkfabric nni show --resource-name {name} --resource-group {rg} --fabric {fabric}') def step_delete(test, checks=None): '''nni delete operation''' if checks is None: checks = [] test.cmd( - 'az nf nni delete --resource-name {name} --resource-group {rg} --fabric {fabric}') + 'az networkfabric nni delete --resource-name {name} --resource-group {rg} --fabric {fabric}') def step_list_resource_group(test, checks=None): '''nni list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf nni list --resource-group {rg} --fabric {fabric}') + test.cmd('az networkfabric nni list --resource-group {rg} --fabric {fabric}') class NNIScenarioTest1(ScenarioTest): ''' NNIScenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py index d36282641a7..1d8856e209f 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_rack.py @@ -33,19 +33,19 @@ def step_show(test, checks=None): if checks is None: checks = [] test.cmd( - 'az nf rack show --resource-name {name} --resource-group {rg}') + 'az networkfabric rack show --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''Rack list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf rack list --resource-group {rg}') + test.cmd('az networkfabric rack list --resource-group {rg}') def step_list_subscription(test, checks=None): '''Rack list by subscription''' if checks is None: checks = [] - test.cmd('az nf rack list') + test.cmd('az networkfabric rack list') class RackScenarioTest1(ScenarioTest): ''' RackScenario test''' diff --git a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py index cfc1669815e..0f5954b5394 100644 --- a/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py +++ b/src/managednetworkfabric/azext_managednetworkfabric/tests/latest/test_routepolicy.py @@ -52,39 +52,39 @@ def step_create_s1(test, checks=None): '''routepolicy create operation with IpCommunities''' if checks is None: checks = [] - test.cmd('az nf routepolicy create --resource-group {rg} --resource-name {name} --location {location} --statements {statements_with_ipcommunity}', checks=checks) + test.cmd('az networkfabric routepolicy create --resource-group {rg} --resource-name {name} --location {location} --statements {statements_with_ipcommunity}', checks=checks) def step_create_s2(test, checks=None): '''routepolicy create operation with IpExtendedCommunities''' if checks is None: checks = [] - test.cmd('az nf routepolicy create --resource-group {rg} --resource-name {name} --location {location} --statements {statements_with_ipextcommunity}', checks=checks) + test.cmd('az networkfabric routepolicy create --resource-group {rg} --resource-name {name} --location {location} --statements {statements_with_ipextcommunity}', checks=checks) def step_show(test, checks=None): '''routepolicy show operation''' if checks is None: checks = [] test.cmd( - 'az nf routepolicy show --resource-name {name} --resource-group {rg}') + 'az networkfabric routepolicy show --resource-name {name} --resource-group {rg}') def step_delete(test, checks=None): '''routepolicy delete operation''' if checks is None: checks = [] test.cmd( - 'az nf routepolicy delete --resource-name {name} --resource-group {rg}') + 'az networkfabric routepolicy delete --resource-name {name} --resource-group {rg}') def step_list_resource_group(test, checks=None): '''routepolicy list by resource group operation''' if checks is None: checks = [] - test.cmd('az nf routepolicy list --resource-group {rg}') + test.cmd('az networkfabric routepolicy list --resource-group {rg}') def step_list_subscription(test, checks=None): '''routepolicy list by subscription operation''' if checks is None: checks = [] - test.cmd('az nf routepolicy list') + test.cmd('az networkfabric routepolicy list') class RoutePolicyScenarioTest1(ScenarioTest): ''' Route Policy Scenario1 test''' diff --git a/src/managednetworkfabric/setup.py b/src/managednetworkfabric/setup.py index 3945d751e13..5491bfcaf8c 100644 --- a/src/managednetworkfabric/setup.py +++ b/src/managednetworkfabric/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '2.0.0' +VERSION = '1.0.0b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From e1922b1000b9c9a462613dc08927ce6ea7936c43 Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Wed, 14 Jun 2023 19:43:51 +0530 Subject: [PATCH 5/8] updated service name --- src/service_name.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service_name.json b/src/service_name.json index 61e04240caf..8ecab015438 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -400,7 +400,7 @@ "URL": "" }, { - "Command": "az nf", + "Command": "az networkfabric", "AzureServiceName": "Managed Network Fabric", "URL": "" }, From 4654db87e9001849b133191a3a1cf03aa33ab6cd Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Wed, 14 Jun 2023 20:05:42 +0530 Subject: [PATCH 6/8] update linter_exclusion --- linter_exclusions.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/linter_exclusions.yml b/linter_exclusions.yml index 7a0070f2d41..2d47c7c6151 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -2027,24 +2027,24 @@ network vwan update: security_provider_name: rule_exclusions: - option_length_too_long -nf controller create: +networkfabric controller create: parameters: workload_er_connections: rule_exclusions: - option_length_too_long -nf rack create: +networkfabric rack create: rule_exclusions: - missing_command_test_coverage -nf rack delete: +networkfabric rack delete: rule_exclusions: - missing_command_test_coverage -nf device delete: +networkfabric device delete: rule_exclusions: - missing_command_test_coverage -nf interface delete: +networkfabric interface delete: rule_exclusions: - missing_command_test_coverage -nf l3domain create: +networkfabric l3domain create: parameters: aggregate_route_configuration: rule_exclusions: @@ -2058,7 +2058,7 @@ nf l3domain create: redistribute_static_routes: rule_exclusions: - option_length_too_long -nf internalnetwork create: +networkfabric internalnetwork create: parameters: static_route_configuration: rule_exclusions: From b143884dce171236b27e313201e61d42752d0c63 Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Thu, 15 Jun 2023 11:57:51 +0530 Subject: [PATCH 7/8] Address review comments --- src/managednetworkfabric/README.md | 38 +++++++++++++++++++++++++++++- src/service_name.json | 2 +- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/managednetworkfabric/README.md b/src/managednetworkfabric/README.md index d28fa2fa1a6..53009b777f4 100644 --- a/src/managednetworkfabric/README.md +++ b/src/managednetworkfabric/README.md @@ -2,4 +2,40 @@ This is an extension to Azure CLI to manage Managednetworkfabric resources. ## How to use ## -Please add commands usage here. \ No newline at end of file + +Install the extension: + +``` +az extension add --name managednetworkfabric +``` + +Validate that the extension is installed correctly: + +``` +az networkfabric --help +``` + +## Included Features ## + +Below is a high-level overview of managednetworkfabric commands. + +| Commands | Description| +| ------------- | ------------- | +| az networkfabric acl | Manage Access Control List Resource. | +| az networkfabric controller | Manage Network Fabric Controller Resource. | +| az networkfabric device | Manage Network Device Resource. | +| az networkfabric devicesku | Manage Network Device SKU Resource. | +| az networkfabric externalnetwork | Manage External Network Resource. | +| az networkfabric fabric | Manage Network Fabric Resource. | +| az networkfabric fabricsku | Manage Network Fabric SKU Resource. | +| az networkfabric interface | Manage Network Interface Resource. | +| az networkfabric internalnetwork | Manage Internal Network Resource. | +| az networkfabric ipcommunity | Manage Ip Community Resource. | +| az networkfabric ipextendedcommunity | Manage Ip Extended Community Resource. | +| az networkfabric ipprefix | Manage Ip Prefix Resource. | +| az networkfabric l2domain | Manage L2 Isolation Domain Resource. | +| az networkfabric l3domain | Manage L3 Isolation Domain Resource. | +| az networkfabric nni | Manage Network To Network Interconnect Resource. | +| az networkfabric rack | Manage Network Rack Resource. | +| az networkfabric racksku | Manage Network Rack SKU Resource. | +| az networkfabric routepolicy | Manage Route Policy Resource. | \ No newline at end of file diff --git a/src/service_name.json b/src/service_name.json index 8ecab015438..8730198d4dd 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -402,7 +402,7 @@ { "Command": "az networkfabric", "AzureServiceName": "Managed Network Fabric", - "URL": "" + "URL": "https://learn.microsoft.com/en-us/azure/operator-nexus/" }, { "Command": "az notification-hub", From 1eca9f7c48e26f4220d134f040f584684dd2506d Mon Sep 17 00:00:00 2001 From: "Rahul Marimuthu (Dhyan Networks and Technologie)" Date: Thu, 15 Jun 2023 12:07:39 +0530 Subject: [PATCH 8/8] Updated service_name --- src/service_name.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/service_name.json b/src/service_name.json index 49a1048c6ea..73e9557947f 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -394,6 +394,11 @@ "AzureServiceName": "Azure Operator Nexus", "URL": "https://learn.microsoft.com/en-us/azure/operator-nexus/" }, + { + "Command": "az networkfabric", + "AzureServiceName": "Managed Network Fabric", + "URL": "https://learn.microsoft.com/en-us/azure/operator-nexus/" + }, { "Command": "az network-function", "AzureServiceName": "Azure Network Function", @@ -404,11 +409,6 @@ "AzureServiceName": "Azure CLI", "URL": "" }, - { - "Command": "az networkfabric", - "AzureServiceName": "Managed Network Fabric", - "URL": "https://learn.microsoft.com/en-us/azure/operator-nexus/" - }, { "Command": "az notification-hub", "AzureServiceName": "Azure Notification Hubs",