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