GetVolumeSnapshotPlainArgs

data class GetVolumeSnapshotPlainArgs(val mostRecent: Boolean? = null, val name: String? = null, val nameRegex: String? = null, val region: String? = null) : ConvertibleToJava<GetVolumeSnapshotPlainArgs>

A collection of arguments for invoking getVolumeSnapshot.

Constructors

Link copied to clipboard
constructor(mostRecent: Boolean? = null, name: String? = null, nameRegex: String? = null, region: String? = null)

Properties

Link copied to clipboard
val mostRecent: Boolean? = null

If more than one result is returned, use the most recent volume snapshot.

Link copied to clipboard
val name: String? = null

The name of the volume snapshot.

Link copied to clipboard
val nameRegex: String? = null

A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.

Link copied to clipboard
val region: String? = null

A "slug" representing a DigitalOcean region (e.g. nyc1). If set, only volume snapshots available in the region will be returned.

Functions

Link copied to clipboard
open override fun toJava(): GetVolumeSnapshotPlainArgs