Resource Type: snapshot
- Defined in:
- lib/puppet/type/snapshot.rb
- Providers:
-
v1
Overview
Type representing a ProfitBricks Snapshot.
Properties
-
cpu_hot_plug
Indicates CPU hot plug capability.
Supported values:- true
- false
-
cpu_hot_unplug
Indicates CPU hot unplug capability.
Supported values:- true
- false
-
datacenter
The ID or name of the virtual data center where the volume resides.
-
description
The snapshot’s description.
-
disc_scsi_hot_plug
Indicates SCSI drive hot plug capability.
Supported values:- true
- false
-
disc_scsi_hot_unplug
Indicates SCSI drive hot unplug capability.
Supported values:- true
- false
-
disc_virtio_hot_plug
Indicates VirtIO drive hot plug capability.
Supported values:- true
- false
-
disc_virtio_hot_unplug
Indicates VirtIO drive hot unplug capability.
Supported values:- true
- false
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
id
The snapshot’s ID.
-
licence_type
The license type of the snapshot.
-
location
The snapshot’s location.
-
nic_hot_plug
Indicates NIC hot plug capability.
Supported values:- true
- false
-
nic_hot_unplug
Indicates NIC hot unplug capability.
Supported values:- true
- false
-
ram_hot_plug
Indicates memory hot plug capability.
Supported values:- true
- false
-
ram_hot_unplug
Indicates memory hot unplug capability.
Supported values:- true
- false
-
restore
If true, restore the snapshot onto the volume specified be the volume property.
Supported values:- true
- false
-
size
The size of the snapshot in GB.
-
volume
The ID or name of the volume used to create/restore the snapshot.
Parameters
-
name (namevar)
The name of the snapshot.
-
provider
The specific backend to use for this ‘snapshot` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.