...

Text file src/github.com/go-openapi/spec/fixtures/azure/examples/PublicIpAddressList.json

Documentation: github.com/go-openapi/spec/fixtures/azure/examples

     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": "testDNS-ip",
    13            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
    14            "location": "westus",
    15            "properties": {
    16              "provisioningState": "Succeeded",
    17              "publicIPAddressVersion": "IPv4",
    18              "publicIPAllocationMethod": "Dynamic",
    19              "idleTimeoutInMinutes": 4,
    20              "ipConfiguration": {
    21                "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
    22              },
    23              "ipTags": [
    24                {
    25                  "ipTagType": "FirstPartyUsage",
    26                  "tag": "SQL"
    27                },
    28                {
    29                  "ipTagType": "FirstPartyUsage",
    30                  "tag": "Storage"
    31                }
    32              ]
    33            },
    34            "type": "Microsoft.Network/publicIPAddresses"
    35          },
    36          {
    37            "name": "ip03",
    38            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03",
    39            "location": "westus",
    40            "properties": {
    41              "provisioningState": "Succeeded",
    42              "ipAddress": "40.85.154.247",
    43              "publicIPAddressVersion": "IPv4",
    44              "publicIPAllocationMethod": "Dynamic",
    45              "idleTimeoutInMinutes": 4,
    46              "dnsSettings": {
    47                "domainNameLabel": "testlbl",
    48                "fqdn": "testlbl.westus.cloudapp.azure.com"
    49              },
    50              "ipConfiguration": {
    51                "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd"
    52              }
    53            },
    54            "type": "Microsoft.Network/publicIPAddresses"
    55          }
    56        ]
    57      }
    58    }
    59  }
    60}

View as plain text