---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes"
tags: ["PublicIPPrefixes"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes`

Gets all the public IP prefixes in a subscription.

## Parameters

- `./network.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `./network.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

Request successful. The operation returns a list of PublicIPPrefix resources.

- PublicIPPrefixListResult — Response for ListPublicIpPrefixes API service call.
  - `value` PublicIPPrefix[] — A list of public IP prefixes that exists in a resource group. — unresolved $ref
  - `nextLink` string — The URL to get the next set of results.

---

[API](https://skmtc.dev/azure/apis/networkmanagementclient-30.md) · [All operations](https://skmtc.dev/azure/apis/networkmanagementclient-30/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/networkmanagementclient-30/revisions/7021165c2ead/schema)
