Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Virtual Private Cloud
  • Getting started
  • DDoS Protection
  • Access management
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • AddCidrBlocks
        • RemoveCidrBlocks
        • Delete
        • ListOperations
        • Move
        • Relocate
        • ListUsedAddresses
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • UsedAddress
  • Reference
  • Referrer
  1. API reference
  2. REST
  3. Subnet
  4. ListUsedAddresses

Virtual Private Cloud API, REST: Subnet.ListUsedAddresses

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • UsedAddress
  • Reference
  • Referrer

List used addresses in specified subnet.

HTTP requestHTTP request

GET https://vpc.api.cloud.yandex.net/vpc/v1/subnets/{subnetId}/addresses

Path parametersPath parameters

Field

Description

subnetId

string

Required field.

Query parametersQuery parameters

Field

Description

pageSize

string (int64)

pageToken

string

filter

string

ResponseResponse

HTTP Code: 200 - OK

{
  "addresses": [
    {
      "address": "string",
      "ipVersion": "string",
      "references": [
        {
          "referrer": {
            "type": "string",
            "id": "string"
          },
          "type": "string"
        }
      ]
    }
  ],
  "nextPageToken": "string"
}

Field

Description

addresses[]

UsedAddress

nextPageToken

string

UsedAddressUsedAddress

Field

Description

address

string

ipVersion

enum (IpVersion)

  • IP_VERSION_UNSPECIFIED
  • IPV4
  • IPV6

references[]

Reference

ReferenceReference

Field

Description

referrer

Referrer

type

enum (Type)

  • TYPE_UNSPECIFIED
  • MANAGED_BY
  • USED_BY

ReferrerReferrer

Field

Description

type

string

type = compute.instance, id = <instance id>

  • type = compute.instanceGroup, id = <instanceGroup id>
  • type = loadbalancer.networkLoadBalancer, id = <networkLoadBalancer id>
  • type = managed-kubernetes.cluster, id = <cluster id>
  • type = managed-mysql.cluster, id = <cluster id>

id

string

Was the article helpful?

Previous
Relocate
Next
Overview
© 2025 Direct Cursus Technology L.L.C.