| 1 | { |
| 2 | "parameters": { |
| 3 | "api-version": "2020-04-01", |
| 4 | "subscriptionId": "subid" |
| 5 | }, |
| 6 | "responses": { |
| 7 | "200": { |
| 8 | "body": { |
| 9 | "value": [ |
| 10 | { |
| 11 | "name": "test-nic", |
| 12 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", |
| 13 | "location": "eastus", |
| 14 | "properties": { |
| 15 | "provisioningState": "Succeeded", |
| 16 | "ipConfigurations": [ |
| 17 | { |
| 18 | "name": "ipconfig1", |
| 19 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", |
| 20 | "properties": { |
| 21 | "provisioningState": "Succeeded", |
| 22 | "privateIPAddress": "172.20.2.4", |
| 23 | "privateIPAllocationMethod": "Dynamic", |
| 24 | "publicIPAddress": { |
| 25 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" |
| 26 | }, |
| 27 | "subnet": { |
| 28 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" |
| 29 | }, |
| 30 | "primary": true, |
| 31 | "privateIPAddressVersion": "IPv4" |
| 32 | } |
| 33 | } |
| 34 | ], |
| 35 | "dnsSettings": { |
| 36 | "dnsServers": [], |
| 37 | "appliedDnsServers": [], |
| 38 | "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" |
| 39 | }, |
| 40 | "macAddress": "00-0D-3A-1B-C7-21", |
| 41 | "enableAcceleratedNetworking": true, |
| 42 | "enableIPForwarding": false, |
| 43 | "networkSecurityGroup": { |
| 44 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" |
| 45 | }, |
| 46 | "primary": true, |
| 47 | "virtualMachine": { |
| 48 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" |
| 49 | } |
| 50 | }, |
| 51 | "type": "Microsoft.Network/networkInterfaces" |
| 52 | }, |
| 53 | { |
| 54 | "name": "test-nic2", |
| 55 | "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", |
| 56 | "location": "eastus", |
| 57 | "properties": { |
| 58 | "provisioningState": "Succeeded", |
| 59 | "ipConfigurations": [ |
| 60 | { |
| 61 | "name": "ipconfig1", |
| 62 | "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", |
| 63 | "properties": { |
| 64 | "provisioningState": "Succeeded", |
| 65 | "privateIPAddress": "172.20.2.4", |
| 66 | "privateIPAllocationMethod": "Dynamic", |
| 67 | "publicIPAddress": { |
| 68 | "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" |
| 69 | }, |
| 70 | "subnet": { |
| 71 | "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" |
| 72 | }, |
| 73 | "primary": true, |
| 74 | "privateIPAddressVersion": "IPv4" |
| 75 | } |
| 76 | } |
| 77 | ], |
| 78 | "dnsSettings": { |
| 79 | "dnsServers": [], |
| 80 | "appliedDnsServers": [] |
| 81 | }, |
| 82 | "enableAcceleratedNetworking": true, |
| 83 | "enableIPForwarding": false |
| 84 | }, |
| 85 | "type": "Microsoft.Network/networkInterfaces" |
| 86 | } |
| 87 | ] |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | } |