...

Text file src/github.com/go-openapi/spec/fixtures/azure/examples/PublicIpAddressGet.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    "publicIpAddressName": "testDNS-ip"
     7  },
     8  "responses": {
     9    "200": {
    10      "body": {
    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          "ipTags": [
    23            {
    24              "ipTagType": "FirstPartyUsage",
    25              "tag": "SQL"
    26            },
    27            {
    28              "ipTagType": "FirstPartyUsage",
    29              "tag": "Storage"
    30            }
    31          ]
    32        },
    33        "type": "Microsoft.Network/publicIPAddresses"
    34      }
    35    }
    36  }
    37}

View as plain text