This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

File Storage

Overview

Provides a Command-line Interface (CLI) that supports programmatic use of IaaS/PaaS products provided by SCP.

This guide provides a brief description of File Storage service and how to call CLI.

Version

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionStatusNot Before
1.1CURRENT-
1.0DEPRECATED20251231

1 - CLIs

1.1 - CreateSnapshot

1.1.1 - 1.1

scpcli filestorage volume snapshot create
--volume_id <value>

Description

Create snapshot

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
nameSnapshot Namemy_volume.2024-10-01_14215
stateSnapshot Stateavailable
size
created_atCreated At2024-07-30T04:54:33.219373
volume_idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.1.2 - 1.0

scpcli filestorage volume snapshot create
--volume_id <value>

Description

Create snapshot

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
nameSnapshot Namemy_volume.2024-10-01_14215
stateSnapshot Stateavailable
size
created_atCreated At2024-07-30T04:54:33.219373
volume_idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.2 - CreateSnapshotSchedule

1.2.1 - 1.1

scpcli filestorage volume snapshot schedule create
--hour <value>
--frequency <value>
--volume_id <value>
[--snapshot_retention_count <value>]
[--day_of_week <value>]

Description

Create snapshot schedule

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
hour
required
stringHour of the snapshot schedule23
frequency
required
stringFrequency of the snapshotWEEKLY
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
snapshot_retention_count
optional
integerRetention count10
day_of_week
optional
stringDay of week of the snapshot scheduleMON

Responses

NameDescriptionExample
frequencyFrequency of the snapshotWEEKLY
day_of_weekDay of week of the snapshot scheduleMON
hourHour of the snapshot schedule23

1.2.2 - 1.0

scpcli filestorage volume snapshot schedule create
--hour <value>
--frequency <value>
--volume_id <value>
[--snapshot_retention_count <value>]
[--day_of_week <value>]

Description

Create snapshot schedule

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
hour
required
stringHour of the snapshot schedule23
frequency
required
stringFrequency of the snapshotWEEKLY
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
snapshot_retention_count
optional
integerRetention count10
day_of_week
optional
stringDay of week of the snapshot scheduleMON

Responses

NameDescriptionExample
frequencyFrequency of the snapshotWEEKLY
day_of_weekDay of week of the snapshot scheduleMON
hourHour of the snapshot schedule23

1.3 - CreateVolume

1.3.1 - 1.1

scpcli filestorage volume create
--type_name <value>
--protocol <value>
--name <value>
[--snapshot_id <value>]
[--cifs_password <value>]
[--tags <value>]

Description

Create volume

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
type_name
required
stringVolume Type NameHDD
protocol
required
stringProtocolNFS
name
required
stringVolume Namemy_volume
snapshot_id
optional
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
cifs_password
optional
stringCIFS Passwordcifspwd0!!
tags
optional
array'{"key": "key", "value": "value"}'

Responses

NameDescriptionExample
protocolProtocolNFS
snapshot_idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
type_nameVolume Type NameHDD
volume_idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_nameVolume Namemy_volume

1.3.2 - 1.0

scpcli filestorage volume create
--type_name <value>
--protocol <value>
--name <value>
[--snapshot_id <value>]
[--cifs_password <value>]
[--tags <value>]

Description

Create volume

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
type_name
required
stringVolume Type NameHDD
protocol
required
stringProtocolNFS
name
required
stringVolume Namemy_volume
snapshot_id
optional
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
cifs_password
optional
stringCIFS Passwordcifspwd0!!
tags
optional
array'{"key": "key", "value": "value"}'

Responses

NameDescriptionExample
protocolProtocolNFS
snapshot_idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
type_nameVolume Type NameHDD
volume_idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_nameVolume Namemy_volume

1.4 - CreateVolumeReplication

1.4.1 - 1.1

scpcli filestorage volume replication create
--replication_type <value>
--volume_id <value>
--region <value>
--replication_frequency <value>
--name <value>
[--cifs_password <value>]
[--backup_retention_count <value>]

Description

Create Volume Replication

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
replication_type
required
stringReplication Typereplication
volume_id
required
stringSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
region
required
stringTarget Regionkr-west1
replication_frequency
required
stringFrequency5min
name
required
stringTarget Volume Namemy_volume
cifs_password
optional
stringCIFS Passwordcifspwd0!!
backup_retention_count
optional
integerBackup Retention Count2

Responses

NameDescriptionExample
replication_idReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_statusReplication Statuscreating
source_volume_idSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
source_volume_regionSource Regionkr-west1
protocolProtocolNFS
replication_volume_idTarget Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_volume_regionTarget Regionkr-west1

1.4.2 - 1.0

scpcli filestorage volume replication create
--replication_type <value>
--volume_id <value>
--region <value>
--replication_frequency <value>
--name <value>
[--cifs_password <value>]
[--backup_retention_count <value>]

Description

Create Volume Replication

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
replication_type
required
stringReplication Typereplication
volume_id
required
stringSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
region
required
stringTarget Regionkr-west1
replication_frequency
required
stringFrequency5min
name
required
stringTarget Volume Namemy_volume
cifs_password
optional
stringCIFS Passwordcifspwd0!!
backup_retention_count
optional
integerBackup Retention Count2

Responses

NameDescriptionExample
replication_idReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_statusReplication Statuscreating
source_volume_idSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
source_volume_regionSource Regionkr-west1
protocolProtocolNFS
replication_volume_idTarget Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_volume_regionTarget Regionkr-west1

1.5 - DeleteSnapshot

1.5.1 - 1.1

scpcli filestorage volume snapshot delete
--snapshot_id <value>
--volume_id <value>

Description

Delete snapshots

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
snapshot_id
required
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.5.2 - 1.0

scpcli filestorage volume snapshot delete
--snapshot_id <value>
--volume_id <value>

Description

Delete snapshots

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
snapshot_id
required
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.6 - DeleteSnapshotSchedule

1.6.1 - 1.1

scpcli filestorage volume snapshot schedule delete
--snapshot_schedule_id <value>
--volume_id <value>

Description

Delete snapshot schedule

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
snapshot_schedule_id
required
stringSnapshot Schedule IDd02d1a74-1871-4a3d-bdfc-6e60e9ea0f31
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.6.2 - 1.0

scpcli filestorage volume snapshot schedule delete
--snapshot_schedule_id <value>
--volume_id <value>

Description

Delete snapshot schedule

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
snapshot_schedule_id
required
stringSnapshot Schedule IDd02d1a74-1871-4a3d-bdfc-6e60e9ea0f31
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.7 - DeleteVolume

1.7.1 - 1.1

scpcli filestorage volume delete
--volume_id <value>

Description

Delete volume

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.7.2 - 1.0

scpcli filestorage volume delete
--volume_id <value>

Description

Delete volume

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.8 - DeleteVolumeReplication

1.8.1 - 1.1

scpcli filestorage volume replication delete
--replication_id <value>
--volume_id <value>

Description

Delete Volume Replication

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
replication_id
required
stringReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.8.2 - 1.0

scpcli filestorage volume replication delete
--replication_id <value>
--volume_id <value>

Description

Delete Volume Replication

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
replication_id
required
stringReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.9 - ListAccessRules

1.9.1 - 1.1

scpcli filestorage volume access rule list
--volume_id <value>

Description

List access rules

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
access_rule_stateAccess Rule Stateactive
object_typeObject TypeVM
object_idObject ID43fq3347-02q4-4aa8-ccf9-affe4917bb6f

1.9.2 - 1.0

scpcli filestorage volume access rule list
--volume_id <value>

Description

List access rules

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
access_rule_stateAccess Rule Stateactive
object_typeObject TypeVM
object_idObject ID43fq3347-02q4-4aa8-ccf9-affe4917bb6f

1.10 - ListSnapshots

1.10.1 - 1.1

scpcli filestorage volume snapshot list
--volume_id <value>

Description

List snapshots

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
nameSnapshot Namemy_volume.2024-10-01_14215
stateSnapshot Stateavailable
size
created_atCreated At2024-07-30T04:54:33.219373

1.10.2 - 1.0

scpcli filestorage volume snapshot list
--volume_id <value>

Description

List snapshots

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
nameSnapshot Namemy_volume.2024-10-01_14215
stateSnapshot Stateavailable
size
created_atCreated At2024-07-30T04:54:33.219373

1.11 - ListSnapshotSchedule

1.11.1 - 1.1

scpcli filestorage volume snapshot schedule list
--volume_id <value>

Description

List snapshot schedule

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idSnapshot Schedule IDd02d1a74-1871-4a3d-bdfc-6e60e9ea0f31
frequencyFrequency of the snapshotWEEKLY
day_of_weekDay of week of the snapshot scheduleMON
hourHour of the snapshot schedule23

1.11.2 - 1.0

scpcli filestorage volume snapshot schedule list
--volume_id <value>

Description

List snapshot schedule

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idSnapshot Schedule IDd02d1a74-1871-4a3d-bdfc-6e60e9ea0f31
frequencyFrequency of the snapshotWEEKLY
day_of_weekDay of week of the snapshot scheduleMON
hourHour of the snapshot schedule23

1.12 - ListVolumeReplicationRegion

1.12.1 - 1.1

scpcli filestorage volume replication region list
--replication_type <value>
--source_region_name <value>
--type_name <value>

Description

List Volume Replication Region

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
replication_type
required
stringReplication Typereplication
source_region_name
required
stringRegionkr-west1
type_name
required
stringVolume Type NameHDD

Responses

NameDescriptionExample
regionsReplication Region List[‘kr-west1’]

1.12.2 - 1.0

scpcli filestorage volume replication region list
--replication_type <value>
--source_region_name <value>
--type_name <value>

Description

List Volume Replication Region

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
replication_type
required
stringReplication Typereplication
source_region_name
required
stringRegionkr-west1
type_name
required
stringVolume Type NameHDD

Responses

NameDescriptionExample
regionsReplication Region List[‘kr-west1’]

1.13 - ListVolumeReplications

1.13.1 - 1.1

scpcli filestorage volume replication list
--volume_id <value>

Description

List Volume Replications

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
replication_idReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_frequencyFrequency5min
source_volume_idSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
source_volume_regionSource Regionkr-west1
source_volume_access_levelSource Access Levelro
replication_volume_idTarget Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_volume_regionTarget Regionkr-west1
replication_volume_access_levelTarget Access Levelro
replication_typeReplication Typereplication

1.13.2 - 1.0

scpcli filestorage volume replication list
--volume_id <value>

Description

List Volume Replications

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
replication_idReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_frequencyFrequency5min
source_volume_idSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
source_volume_regionSource Regionkr-west1
source_volume_access_levelSource Access Levelro
replication_volume_idTarget Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_volume_regionTarget Regionkr-west1
replication_volume_access_levelTarget Access Levelro
replication_typeReplication Typereplication

1.14 - ListVolumes

1.14.1 - 1.1

scpcli filestorage volume list
[--offset <value>]
[--limit <value>]
[--name <value>]
[--type_name <value>]
[--sort <value>]

Description

List volumes

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
offset
optional
integeroffset-
limit
optional
integerlimit-
name
optional
stringVolume Namemy_volume
type_name
optional
stringVolume Type NameHDD
sort
optional
stringsort-

Responses

NameDescriptionExample
idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
nameVolume Namemy_volume
protocolProtocolNFS
stateVolume Stateavailable
account_idAccount IDrwww523320dfvwbbefefsdvwdadsfa24c
created_atCreated At2024-07-30T04:54:33.219373
type_idVolume Type IDjef22f67-ee83-4gg2-2ab6-3lf774ekfjdu
type_nameVolume Type NameHDD
purposePurposereplication

1.14.2 - 1.0

scpcli filestorage volume list
[--offset <value>]
[--limit <value>]
[--name <value>]
[--type_name <value>]
[--sort <value>]

Description

List volumes

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
offset
optional
integeroffset-
limit
optional
integerlimit-
name
optional
stringVolume Namemy_volume
type_name
optional
stringVolume Type NameHDD
sort
optional
stringsort-

Responses

NameDescriptionExample
idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
nameVolume Namemy_volume
protocolProtocolNFS
stateVolume Stateavailable
account_idAccount IDrwww523320dfvwbbefefsdvwdadsfa24c
created_atCreated At2024-07-30T04:54:33.219373
type_idVolume Type IDjef22f67-ee83-4gg2-2ab6-3lf774ekfjdu
type_nameVolume Type NameHDD
purposePurposereplication

1.15 - RestoreSnapshot

1.15.1 - 1.1

scpcli filestorage volume snapshot set
--snapshot_id <value>
--volume_id <value>

Description

Restore snapshot

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
snapshot_id
required
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.15.2 - 1.0

scpcli filestorage volume snapshot set
--snapshot_id <value>
--volume_id <value>

Description

Restore snapshot

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
snapshot_id
required
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

1.16 - SetAccessRule

1.16.1 - 1.1

scpcli filestorage volume access rule set
--volume_id <value>
--action <value>
--object_type <value>
--object_id <value>

Description

Set access rule for volume

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
action
required
stringAccess Rule Actionadd
object_type
required
stringObject TypeVM
object_id
required
stringObject ID43fq3347-02q4-4aa8-ccf9-affe4917bb6f

1.16.2 - 1.0

scpcli filestorage volume access rule set
--volume_id <value>
--action <value>
--object_type <value>
--object_id <value>

Description

Set access rule for volume

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
action
required
stringAccess Rule Actionadd
object_type
required
stringObject TypeVM
object_id
required
stringObject ID43fq3347-02q4-4aa8-ccf9-affe4917bb6f

1.17 - SetSnapshotSchedule

1.17.1 - 1.1

scpcli filestorage volume snapshot schedule set
--snapshot_schedule_id <value>
--volume_id <value>
--hour <value>
--frequency <value>
[--snapshot_retention_count <value>]
[--day_of_week <value>]

Description

Set snapshot schedule

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
snapshot_schedule_id
required
stringSnapshot Schedule IDd02d1a74-1871-4a3d-bdfc-6e60e9ea0f31
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
hour
required
stringHour of the snapshot schedule23
frequency
required
stringFrequency of the snapshotWEEKLY
snapshot_retention_count
optional
integerRetention count10
day_of_week
optional
stringDay of week of the snapshot scheduleMON

1.17.2 - 1.0

scpcli filestorage volume snapshot schedule set
--snapshot_schedule_id <value>
--volume_id <value>
--hour <value>
--frequency <value>
[--snapshot_retention_count <value>]
[--day_of_week <value>]

Description

Set snapshot schedule

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
snapshot_schedule_id
required
stringSnapshot Schedule IDd02d1a74-1871-4a3d-bdfc-6e60e9ea0f31
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
hour
required
stringHour of the snapshot schedule23
frequency
required
stringFrequency of the snapshotWEEKLY
snapshot_retention_count
optional
integerRetention count10
day_of_week
optional
stringDay of week of the snapshot scheduleMON

1.18 - SetVolume

1.18.1 - 1.1

scpcli filestorage volume set
--volume_id <value>
--file_unit_recovery_enabled <value>

Description

Set volume

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
file_unit_recovery_enabled
required
booleanVolume File Unit Recovery EnabledTrue

1.18.2 - 1.0

scpcli filestorage volume set
--volume_id <value>
--file_unit_recovery_enabled <value>

Description

Set volume

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
file_unit_recovery_enabled
required
booleanVolume File Unit Recovery EnabledTrue

1.19 - SetVolumeReplication

1.19.1 - 1.1

scpcli filestorage volume replication set
--replication_id <value>
--volume_id <value>
--replication_update_type <value>
[--replication_policy <value>]
[--replication_frequency <value>]
[--backup_retention_count <value>]

Description

Set Volume Replication

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
replication_id
required
stringReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_update_type
required
stringReplication Update Typepolicy
replication_policy
optional
****Policyuse
replication_frequency
optional
****Frequency5min
backup_retention_count
optional
integerBackup Retention Count2

1.19.2 - 1.0

scpcli filestorage volume replication set
--replication_id <value>
--volume_id <value>
--replication_update_type <value>
[--replication_policy <value>]
[--replication_frequency <value>]
[--backup_retention_count <value>]

Description

Set Volume Replication

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
replication_id
required
stringReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_update_type
required
stringReplication Update Typepolicy
replication_policy
optional
****Policyuse
replication_frequency
optional
****Frequency5min
backup_retention_count
optional
integerBackup Retention Count2

1.20 - ShowVolume

1.20.1 - 1.1

scpcli filestorage volume show
--volume_id <value>

Description

Show volume

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
nameVolume Namemy_volume
protocolProtocolNFS
stateVolume Stateavailable
account_idAccount IDrwww523320dfvwbbefefsdvwdadsfa24c
created_atCreated At2024-07-30T04:54:33.219373
type_idVolume Type IDjef22f67-ee83-4gg2-2ab6-3lf774ekfjdu
type_nameVolume Type NameHDD
purposePurposereplication
pathVolume Mount Pathxxx.xx.xxx:/xxxxxxxx
usage
encryption_enabledVolume Encryption EnabledTrue
file_unit_recovery_enabledVolume File Unit Recovery EnabledTrue
cifs_idCIFS IDcifsid
endpoint_pathVolume Endpoint Pathxxx.xx.xxx.xxx

1.20.2 - 1.0

scpcli filestorage volume show
--volume_id <value>

Description

Show volume

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
nameVolume Namemy_volume
protocolProtocolNFS
stateVolume Stateavailable
account_idAccount IDrwww523320dfvwbbefefsdvwdadsfa24c
created_atCreated At2024-07-30T04:54:33.219373
type_idVolume Type IDjef22f67-ee83-4gg2-2ab6-3lf774ekfjdu
type_nameVolume Type NameHDD
purposePurposereplication
pathVolume Mount Pathxxx.xx.xxx:/xxxxxxxx
usage
encryption_enabledVolume Encryption EnabledTrue
file_unit_recovery_enabledVolume File Unit Recovery EnabledTrue
cifs_idCIFS IDcifsid
endpoint_pathVolume Endpoint Pathxxx.xx.xxx.xxx

1.21 - ShowVolumeReplication

1.21.1 - 1.1

scpcli filestorage volume replication show
--replication_id <value>
--volume_id <value>

Description

Show Volume Replication

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
replication_id
required
stringReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
replication_idReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_frequencyFrequency5min
source_volume_idSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
source_volume_regionSource Regionkr-west1
source_volume_access_levelSource Access Levelro
replication_volume_idTarget Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_volume_regionTarget Regionkr-west1
replication_volume_access_levelTarget Access Levelro
replication_typeReplication Typereplication
source_volume_nameSource Volume Namemy_volume
replication_policyPolicyuse
replication_statusReplication Statuscreating
replication_volume_nameTarget Volume Namemy_volume
backup_retention_countBackup Retention Count2

1.21.2 - 1.0

scpcli filestorage volume replication show
--replication_id <value>
--volume_id <value>

Description

Show Volume Replication

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
replication_id
required
stringReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_id
required
stringVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438

Responses

NameDescriptionExample
replication_idReplication IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_frequencyFrequency5min
source_volume_idSource Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
source_volume_regionSource Regionkr-west1
source_volume_access_levelSource Access Levelro
replication_volume_idTarget Volume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
replication_volume_regionTarget Regionkr-west1
replication_volume_access_levelTarget Access Levelro
replication_typeReplication Typereplication
source_volume_nameSource Volume Namemy_volume
replication_policyPolicyuse
replication_statusReplication Statuscreating
replication_volume_nameTarget Volume Namemy_volume
backup_retention_countBackup Retention Count2