lib/rancher/api/models/machine.rb in rancher-api-0.5.2 vs lib/rancher/api/models/machine.rb in rancher-api-0.6.0
- old
+ new
@@ -7,9 +7,11 @@
include Helpers::Model
DIGITAL_OCEAN = 'digitalocean'.freeze
VMWARE_VSPHERE = 'vmwarevsphere'.freeze
+ collection_path 'projects/:project_id/machines'
+
attributes :name, :state, :amazonec2Config, :azureConfig, :description,
:digitaloceanConfig, :driver, :exoscaleConfig, :externalId,
:labels, :openstackConfig, :packetConfig, :rackspaceConfig,
:removed, :softlayerConfig, :virtualboxConfig,
:vmwarevcloudairConfig, :vmwarevsphereConfig