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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex BareMetal
  • Getting started
    • All guides
    • Service overview
      • Overview
      • Server configurations
      • Overview
      • DHCP
      • Restrictions in BareMetal networks
    • Quotas and limits
    • All tutorials
    • Connecting a BareMetal server to Cloud Backup
    • Configuring VRRP for a cluster of BareMetal servers
    • Setting up network connectivity in a BareMetal subnet
    • Setting up network connectivity between BareMetal and Virtual Private Cloud subnets
    • Authentication with the API
      • Overview
        • Overview
        • GetDefault
        • BatchGetDefault
  • Monitoring metrics
  • Audit Trails events
  • Access management
  • Pricing policy
  • FAQ

In this article:

  • gRPC request
  • BatchGetDefaultStoragesRequest
  • BatchGetDefaultStoragesResponse
  • DefaultStorage
  • Storage
  • StoragePartition
  • Disk
  • Raid
  1. API reference
  2. gRPC
  3. Storage
  4. BatchGetDefault

BareMetal API, gRPC: StorageService.BatchGetDefault

Written by
Yandex Cloud
Updated at March 28, 2025
  • gRPC request
  • BatchGetDefaultStoragesRequest
  • BatchGetDefaultStoragesResponse
  • DefaultStorage
  • Storage
  • StoragePartition
  • Disk
  • Raid

Returns the default storages for the specified configurations.

gRPC requestgRPC request

rpc BatchGetDefault (BatchGetDefaultStoragesRequest) returns (BatchGetDefaultStoragesResponse)

BatchGetDefaultStoragesRequestBatchGetDefaultStoragesRequest

{
  "configuration_ids": [
    "string"
  ]
}

Field

Description

configuration_ids[]

string

List of configuration IDs.

BatchGetDefaultStoragesResponseBatchGetDefaultStoragesResponse

{
  "default_storages": [
    {
      "configuration_id": "string",
      "storages": [
        {
          "partitions": [
            {
              "type": "StoragePartitionType",
              "size_gib": "int64",
              "mount_point": "string"
            }
          ],
          // Includes only one of the fields `disk`, `raid`
          "disk": {
            "id": "string",
            "type": "DiskDriveType",
            "size_gib": "int64"
          },
          "raid": {
            "type": "RaidType",
            "disks": [
              {
                "id": "string",
                "type": "DiskDriveType",
                "size_gib": "int64"
              }
            ]
          }
          // end of the list of possible fields
        }
      ]
    }
  ]
}

Field

Description

default_storages[]

DefaultStorage

List of default storages.

DefaultStorageDefaultStorage

Field

Description

configuration_id

string

ID of the configuration.

To get the configuration ID, use a ConfigurationService.List request.

storages[]

Storage

List of default storages.

StorageStorage

Storage, a OS-level storage entity used for creating partitions. For example, this could
represent a plain disk or a software RAID of disks.

Field

Description

partitions[]

StoragePartition

Array of partitions created on the storage.

disk

Disk

Disk storage.

Includes only one of the fields disk, raid.

Storage type.

raid

Raid

RAID storage.

Includes only one of the fields disk, raid.

Storage type.

StoragePartitionStoragePartition

Field

Description

type

enum StoragePartitionType

Partition type.

  • STORAGE_PARTITION_TYPE_UNSPECIFIED: Unspecified storage partition type.
  • EXT4: ext4 file system partition type.
  • SWAP: Swap partition type.
  • EXT3: ext3 file system partition type.
  • XFS: XFS file system partition type.

size_gib

int64

Size of the storage partition in gibibytes (2^30 bytes).

mount_point

string

Storage mount point.

DiskDisk

Disk.

Field

Description

id

string

ID of the disk.

type

enum DiskDriveType

Type of the disk drive.

  • DISK_DRIVE_TYPE_UNSPECIFIED: Unspecified disk drive type.
  • HDD: Hard disk drive.
  • SSD: Solid state drive.

size_gib

int64

Size of the disk in gibibytes (2^30 bytes).

RaidRaid

RAID storage.

Field

Description

type

enum RaidType

RAID type.

  • RAID_TYPE_UNSPECIFIED: Unspecified RAID configuration.
  • RAID0: RAID0 configuration.
  • RAID1: RAID1 configuration.
  • RAID10: RAID10 configuration.

disks[]

Disk

Array of disks in the RAID configuration.

Was the article helpful?

Previous
GetDefault
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC