...

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

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

     1{
     2  "parameters": {
     3    "api-version": "2020-04-01",
     4    "subscriptionId": "subid"
     5  },
     6  "responses": {
     7    "200": {
     8      "body": {
     9        "value": [
    10          {
    11            "name": "testDNS-ip",
    12            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
    13            "location": "westus",
    14            "properties": {
    15              "provisioningState": "Succeeded",
    16              "publicIPAddressVersion": "IPv4",
    17              "publicIPAllocationMethod": "Dynamic",
    18              "idleTimeoutInMinutes": 4,
    19              "ipConfiguration": {
    20                "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
    21              }
    22            },
    23            "type": "Microsoft.Network/publicIPAddresses"
    24          },
    25          {
    26            "name": "ip01",
    27            "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01",
    28            "location": "westus",
    29            "properties": {
    30              "provisioningState": "Succeeded",
    31              "ipAddress": "40.85.154.247",
    32              "publicIPAddressVersion": "IPv4",
    33              "publicIPAllocationMethod": "Dynamic",
    34              "idleTimeoutInMinutes": 4,
    35              "dnsSettings": {
    36                "domainNameLabel": "testlbl",
    37                "fqdn": "testlbl.westus.cloudapp.azure.com"
    38              },
    39              "ipConfiguration": {
    40                "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd"
    41              }
    42            },
    43            "type": "Microsoft.Network/publicIPAddresses"
    44          }
    45        ]
    46      }
    47    }
    48  }
    49}

View as plain text