[SDK reference](../../index.md) / [Models](../index.md)

# Models.Storage namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [AttachDiskRequest](AttachDiskRequest.md) | class | Request to attach a disk to a VM instance in the same location (ADR-0502). |
| [Backup](Backup.md) | class | One disk as of one slot of a plan (or of a manual run): an encrypted archive kept apart from the disk (ADR-0504, ADR-0511). |
| [BackupDeletionReceipt](BackupDeletionReceipt.md) | class | A signed deletion receipt for a backup that was deleted or expired (ADR-0510). |
| [BackupDeletionReceiptList](BackupDeletionReceiptList.md) | class | A page of backup deletion receipts. |
| [BackupList](BackupList.md) | class | A page of backups. |
| [BackupPlan](BackupPlan.md) | class | A backup plan: which disks, when, how long, and whether a copy goes to a peer location (ADR-0504, ADR-0511). |
| [BackupPlanList](BackupPlanList.md) | class | A page of backup plans. |
| [BackupPlanMergePatchUpdate](BackupPlanMergePatchUpdate.md) | class | A backup plan: which disks, when, how long, and whether a copy goes to a peer location (ADR-0504, ADR-0511). |
| [BackupPlanMergePatchUpdate_copyToMember1](BackupPlanMergePatchUpdate_copyToMember1.md) | class |  |
| [BackupPlanMergePatchUpdate_displayNameMember1](BackupPlanMergePatchUpdate_displayNameMember1.md) | class |  |
| [BackupPlanMergePatchUpdate_enabledMember1](BackupPlanMergePatchUpdate_enabledMember1.md) | class |  |
| [BackupPlan_annotations](BackupPlan_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [BackupPlan_labels](BackupPlan_labels.md) | class | At most 64. |
| [BackupPlan_state](BackupPlan_state.md) | enum |  |
| [BackupRetention](BackupRetention.md) | class | How long a plan keeps its backups (ADR-0510: a customer backup is gone within 35 days). At least one field is required. |
| [BackupRetentionMergePatchUpdate](BackupRetentionMergePatchUpdate.md) | class | How long a plan keeps its backups (ADR-0510: a customer backup is gone within 35 days). At least one field is required. |
| [BackupRetentionMergePatchUpdate_keepDaysMember1](BackupRetentionMergePatchUpdate_keepDaysMember1.md) | class |  |
| [BackupRetentionMergePatchUpdate_keepLastMember1](BackupRetentionMergePatchUpdate_keepLastMember1.md) | class |  |
| [BackupSchedule](BackupSchedule.md) | class | When a plan runs (ADR-0504). The slot is wall-clock time in the plan's time zone, so a daylight-saving change moves no backup by an hour of the day. |
| [BackupScheduleMergePatchUpdate](BackupScheduleMergePatchUpdate.md) | class | When a plan runs (ADR-0504). The slot is wall-clock time in the plan's time zone, so a daylight-saving change moves no backup by an hour of the day. |
| [BackupScheduleMergePatchUpdate_atTimeMember1](BackupScheduleMergePatchUpdate_atTimeMember1.md) | class |  |
| [BackupScheduleMergePatchUpdate_dayOfWeekMember1](BackupScheduleMergePatchUpdate_dayOfWeekMember1.md) | class |  |
| [BackupScheduleMergePatchUpdate_frequency](BackupScheduleMergePatchUpdate_frequency.md) | enum | HOURLY (every hour at atTime's minute), DAILY (every day at atTime) or WEEKLY (on dayOfWeek at atTime). |
| [BackupScheduleMergePatchUpdate_timeZoneMember1](BackupScheduleMergePatchUpdate_timeZoneMember1.md) | class |  |
| [BackupSchedule_frequency](BackupSchedule_frequency.md) | enum | HOURLY (every hour at atTime's minute), DAILY (every day at atTime) or WEEKLY (on dayOfWeek at atTime). |
| [Backup_annotations](Backup_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [Backup_copyState](Backup_copyState.md) | enum | Where the copy in the peer location stands. |
| [Backup_kind](Backup_kind.md) | enum | SCHEDULED or MANUAL. |
| [Backup_labels](Backup_labels.md) | class | At most 64. |
| [Backup_state](Backup_state.md) | enum |  |
| [Bucket](Bucket.md) | class | An S3-compatible object storage bucket encrypted under a per-bucket envelope KEK (ADR-0501, ADR-0508). |
| [BucketCorsRule](BucketCorsRule.md) | class | One CORS rule of a bucket (ADR-0508; S3's PutBucketCors): which web origins may call the bucket's S3 endpoint from a browser, and how. |
| [BucketCorsRuleMergePatchUpdateReplaceOnly](BucketCorsRuleMergePatchUpdateReplaceOnly.md) | class |  |
| [BucketLifecycleRule](BucketLifecycleRule.md) | class | Object lifecycle rule (ADR-0508: expiration by age/date/prefix/tag, noncurrent versions, delete-marker cleanup, abort incomplete multipart). |
| [BucketLifecycleRuleMergePatchUpdateReplaceOnly](BucketLifecycleRuleMergePatchUpdateReplaceOnly.md) | class |  |
| [BucketLifecycleRule_tags](BucketLifecycleRule_tags.md) | class | Optional object tag filter; every entry must match. |
| [BucketMergePatchUpdate](BucketMergePatchUpdate.md) | class | An S3-compatible object storage bucket encrypted under a per-bucket envelope KEK (ADR-0501, ADR-0508). |
| [BucketMergePatchUpdate_blockPublicAccessMember1](BucketMergePatchUpdate_blockPublicAccessMember1.md) | class |  |
| [BucketMergePatchUpdate_displayNameMember1](BucketMergePatchUpdate_displayNameMember1.md) | class |  |
| [BucketMergePatchUpdate_publicReadMember1](BucketMergePatchUpdate_publicReadMember1.md) | class |  |
| [BucketMergePatchUpdate_storageClassMember1](BucketMergePatchUpdate_storageClassMember1.md) | class |  |
| [BucketMergePatchUpdate_versioningMember1](BucketMergePatchUpdate_versioningMember1.md) | class |  |
| [BucketObjectLock](BucketObjectLock.md) | class | Object Lock with a default retention for each new object version (ADR-0508: paid projects only, retention at most 1 year, est.). |
| [BucketObjectLockMergePatchUpdateOrCreate](BucketObjectLockMergePatchUpdateOrCreate.md) | class | Object Lock with a default retention for each new object version (ADR-0508: paid projects only, retention at most 1 year, est.). |
| [BucketState](BucketState.md) | enum | Bucket lifecycle states. |
| [Bucket_annotations](Bucket_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [Bucket_labels](Bucket_labels.md) | class | At most 64. |
| [CreateDiskSnapshotActionRequest](CreateDiskSnapshotActionRequest.md) | class | Request to create a point-in-time ZFS snapshot from a disk via the :snapshot action (ADR-0502). |
| [CreateDiskSnapshotActionRequest_labels](CreateDiskSnapshotActionRequest_labels.md) | class | Optional resource labels. |
| [DetachDiskRequest](DetachDiskRequest.md) | class | Request to detach a disk from its currently attached VM instance (ADR-0502). |
| [Disk](Disk.md) | class | A block storage volume backed by a local ZFS zvol over LUKS2 (ADR-0502, ADR-0510). |
| [DiskList](DiskList.md) | class | A page of block disks. |
| [DiskMergePatchUpdate](DiskMergePatchUpdate.md) | class | A block storage volume backed by a local ZFS zvol over LUKS2 (ADR-0502, ADR-0510). |
| [DiskMergePatchUpdate_attachedInstanceIdMember1](DiskMergePatchUpdate_attachedInstanceIdMember1.md) | class |  |
| [DiskMergePatchUpdate_diskTypeMember1](DiskMergePatchUpdate_diskTypeMember1.md) | class |  |
| [DiskMergePatchUpdate_displayNameMember1](DiskMergePatchUpdate_displayNameMember1.md) | class |  |
| [DiskMergePatchUpdate_maxIopsMember1](DiskMergePatchUpdate_maxIopsMember1.md) | class |  |
| [DiskMergePatchUpdate_maxThroughputMibpsMember1](DiskMergePatchUpdate_maxThroughputMibpsMember1.md) | class |  |
| [DiskMergePatchUpdate_sourceSnapshotMember1](DiskMergePatchUpdate_sourceSnapshotMember1.md) | class |  |
| [DiskSnapshot](DiskSnapshot.md) | class | A crash-consistent local ZFS snapshot of a block disk (ADR-0502: at most 32 per disk; never called a backup). |
| [DiskSnapshotList](DiskSnapshotList.md) | class | A page of disk snapshots. |
| [DiskSnapshotMergePatchUpdate](DiskSnapshotMergePatchUpdate.md) | class | A crash-consistent local ZFS snapshot of a block disk (ADR-0502: at most 32 per disk; never called a backup). |
| [DiskSnapshotMergePatchUpdate_descriptionMember1](DiskSnapshotMergePatchUpdate_descriptionMember1.md) | class |  |
| [DiskSnapshotMergePatchUpdate_displayNameMember1](DiskSnapshotMergePatchUpdate_displayNameMember1.md) | class |  |
| [DiskSnapshot_annotations](DiskSnapshot_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [DiskSnapshot_diskRole](DiskSnapshot_diskRole.md) | enum | BOOT for a snapshot of a VM's boot disk (taken through the VM; `sourceDisk` then names the VM's boot disk), DATA for a data disk. |
| [DiskSnapshot_labels](DiskSnapshot_labels.md) | class | At most 64. |
| [DiskSnapshot_state](DiskSnapshot_state.md) | enum | Current lifecycle state of the snapshot. |
| [DiskSnapshot_trigger](DiskSnapshot_trigger.md) | enum | MANUAL for a snapshot someone asked for, SCHEDULE for one a snapshot schedule took (and may delete beyond `keep`). |
| [Disk_annotations](Disk_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [Disk_diskType](Disk_diskType.md) | enum | Volume type: f1-disk (free VM root, 10 GiB, 500 IOPS), local-ssd (default, 10–2048 GiB, 3000–16000 IOPS), or replicated-ssd. |
| [Disk_labels](Disk_labels.md) | class | At most 64. |
| [Disk_state](Disk_state.md) | enum | Current lifecycle state of the disk. |
| [FileEntry](FileEntry.md) | class | One entry of a directory of a file share, read through the share's gateway (ADR-0513). |
| [FileEntryList](FileEntryList.md) | class | A page of the entries of one directory of a file share, directories first, then by name. |
| [FileEntry_type](FileEntry_type.md) | enum | Whether it is a file, a directory, a symbolic link (never followed) or something else. |
| [FileShare](FileShare.md) | class | A file share on a ZFS dataset exported over NFSv4 by a gateway VM inside the tenant network (ADR-0513). |
| [FileShareList](FileShareList.md) | class | A page of file shares. |
| [FileShareMergePatchUpdate](FileShareMergePatchUpdate.md) | class | A file share on a ZFS dataset exported over NFSv4 by a gateway VM inside the tenant network (ADR-0513). |
| [FileShareMergePatchUpdate_displayNameMember1](FileShareMergePatchUpdate_displayNameMember1.md) | class |  |
| [FileShareMergePatchUpdate_networkMember1](FileShareMergePatchUpdate_networkMember1.md) | class |  |
| [FileShareMergePatchUpdate_protocolMember1](FileShareMergePatchUpdate_protocolMember1.md) | class |  |
| [FileShareMountTarget](FileShareMountTarget.md) | class | Where a file share is mounted from: an address and export path inside one network (ADR-0513). A mount from outside the network is refused. |
| [FileShare_annotations](FileShare_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [FileShare_labels](FileShare_labels.md) | class | At most 64. |
| [FileShare_protocol](FileShare_protocol.md) | enum | Share protocol; NFS_V4 is the only value. |
| [FileShare_state](FileShare_state.md) | enum | Current lifecycle state of the share. |
| [ImportDiskRequest](ImportDiskRequest.md) | class | Request to import an external disk image over HTTPS into a new block disk (W58a; ADR-0808, ADR-0824, plan rule V12). |
| [ImportDiskRequest_diskType](ImportDiskRequest_diskType.md) | enum | Paid block volume type: local-ssd (default) or replicated-ssd. |
| [ImportDiskRequest_labels](ImportDiskRequest_labels.md) | class | Optional resource labels. |
| [ImportDiskRequest_sourceFormat](ImportDiskRequest_sourceFormat.md) | enum | Declared image format (never probed; ADR-0808). |
| [ObjectLockMode](ObjectLockMode.md) | enum | Object Lock retention modes (ADR-0508). |
| [RestoreBackupRequest](RestoreBackupRequest.md) | class | Restores a backup as a new disk; an existing disk is never overwritten (ADR-0504). |
| [RestorePoint](RestorePoint.md) | class | A restore point: snapshots of every disk of a VM taken at one moment (crash-consistent; ADR-0502). It is a read of grouped snapshots,not a resource of its own: `:snapshot` makes one, the schedule makes them, and deleting its snapshots removes it. |
| [RestorePointDisk](RestorePointDisk.md) | class | One disk of a restore point. |
| [RestorePointDisk_role](RestorePointDisk_role.md) | enum | BOOT or DATA. |
| [RestorePointDisk_state](RestorePointDisk_state.md) | enum | State of the snapshot. |
| [RestorePointList](RestorePointList.md) | class | A page of restore points. |
| [RestorePoint_state](RestorePoint_state.md) | enum | State of the restore point. |
| [RestorePoint_trigger](RestorePoint_trigger.md) | enum | MANUAL or SCHEDULE. |
| [RollbackInstanceRequest](RollbackInstanceRequest.md) | class | Request to roll a stopped VM back to a restore point: every disk returns to the state of the restore point; later changes are lost. |
| [RunBackupPlanRequest](RunBackupPlanRequest.md) | class | Takes a backup of every source of the plan now, outside its schedule. |
| [SetDiskPerformanceRequest](SetDiskPerformanceRequest.md) | class | Request to update a disk's IOPS and throughput limits online without downtime (ADR-0502). |
| [SnapshotInstanceRequest](SnapshotInstanceRequest.md) | class | Request to snapshot every disk of a VM at one moment. |
