| 1 | { |
| 2 | "parameters": { |
| 3 | "api-version": "2020-04-01", |
| 4 | "subscriptionId": "subid", |
| 5 | "resourceGroupName": "rg1", |
| 6 | "publicIpAddressName": "test-ip", |
| 7 | "zones": [ |
| 8 | "1" |
| 9 | ], |
| 10 | "parameters": { |
| 11 | "properties": { |
| 12 | "publicIPAllocationMethod": "Static", |
| 13 | "idleTimeoutInMinutes": 10, |
| 14 | "publicIPAddressVersion": "IPv4" |
| 15 | }, |
| 16 | "sku": { |
| 17 | "name": "Standard" |
| 18 | }, |
| 19 | "location": "eastus" |
| 20 | } |
| 21 | }, |
| 22 | "responses": { |
| 23 | "200": { |
| 24 | "body": { |
| 25 | "name": "testDNS-ip", |
| 26 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", |
| 27 | "location": "eastus", |
| 28 | "zones": [ |
| 29 | "1" |
| 30 | ], |
| 31 | "properties": { |
| 32 | "provisioningState": "Succeeded", |
| 33 | "publicIPAddressVersion": "IPv4", |
| 34 | "publicIPAllocationMethod": "Static", |
| 35 | "idleTimeoutInMinutes": 10, |
| 36 | "ipConfiguration": { |
| 37 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" |
| 38 | } |
| 39 | }, |
| 40 | "sku": { |
| 41 | "name": "Standard" |
| 42 | }, |
| 43 | "type": "Microsoft.Network/publicIPAddresses" |
| 44 | } |
| 45 | }, |
| 46 | "201": { |
| 47 | "body": { |
| 48 | "name": "testDNS-ip", |
| 49 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", |
| 50 | "location": "eastus", |
| 51 | "zones": [ |
| 52 | "1" |
| 53 | ], |
| 54 | "properties": { |
| 55 | "provisioningState": "Succeeded", |
| 56 | "publicIPAddressVersion": "IPv4", |
| 57 | "publicIPAllocationMethod": "Static", |
| 58 | "idleTimeoutInMinutes": 10, |
| 59 | "ipConfiguration": { |
| 60 | "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" |
| 61 | } |
| 62 | }, |
| 63 | "sku": { |
| 64 | "name": "Standard" |
| 65 | }, |
| 66 | "type": "Microsoft.Network/publicIPAddresses" |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 | } |