Skip to main content

Retrieving the Data Source

This data source can be retrieved by one of ID or name.
Retrieve by ID
To retrieve by ID, fill in only the id field:
data ... {
    id = "your-ID"
}
Retrieve by Name
To retrieve by name, fill in only the name and parent_id fields:
data ... {
    name      = "your name"
    parent_id = "data-source-parent-id"
}

Schema

Optional

  • id (String) Identifier for the resource, unique for its resource type.
  • name (String) Human readable name for the resource.
  • parent_id (String) Identifier of the parent resource to which the resource belongs.

Read-Only

  • block_size_bytes (Number) : Block size in bytes. The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB). The default value is 4096 bytes (4 KiB).
  • created_at (String) : Timestamp indicating when the resource was created. A string representing a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS.SSS±HH:MM
  • forbid_deletion (Boolean) Prevents deletion whilst set
  • labels (Map of String) : Labels associated with the resource.
  • metadata (Attributes) :

    Inner value description

    Common resource metadata. (see below for nested schema)
  • resource_version (Number) : Version of the resource for safe concurrent modifications and consistent reads. Positive and monotonically increases on each resource spec change (but not on each change of the resource’s container(s) or status). Service allows zero value or current.
  • size_bytes (Number) Cannot be set alongside size_kibibytes, size_mebibytes or size_gibibytes.
  • size_gibibytes (Number) Cannot be set alongside size_bytes, size_kibibytes or size_mebibytes.
  • size_kibibytes (Number) Cannot be set alongside size_bytes, size_mebibytes or size_gibibytes.
  • size_mebibytes (Number) Cannot be set alongside size_bytes, size_kibibytes or size_gibibytes.
  • status (Attributes) (see below for nested schema)
  • type (String) : The Shared Filesystem type determines its limits and performance characteristics. For details, see https://docs.nebius.com/compute/storage/types#filesystems-types

    Supported values

    Possible values:
    • UNSPECIFIED
    • NETWORK_SSD - the list of available types will be clarified later, it is not final version
    • NETWORK_HDD
    • WEKA
    • VAST
  • updated_at (String) : Timestamp indicating when the resource was last updated. A string representing a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS.SSS±HH:MM

Nested Schema for metadata

Nested Schema for status

Read-Only:
  • block_size_bytes (Number)
  • read_only_attachments (List of String)
  • read_write_attachments (List of String)
  • reconciling (Boolean) Indicates whether there is an ongoing operation
  • size_bytes (Number)
  • state (String) :

    Supported values

    Possible values:
    • UNSPECIFIED
    • CREATING
    • READY
    • UPDATING
    • DELETING
    • ERROR
  • state_description (String)