Class: Softlayer::Virtual::Guest::Block::Device::Template::Group

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/virtual/guest/block/device/template/group.rb,
lib/softlayer/virtual/guest/block/device/template/group/status.rb,
lib/softlayer/virtual/guest/block/device/template/group/accounts.rb

Defined Under Namespace

Classes: Accounts, Representer, Status

Constant Summary collapse

SERVICE =
'SoftLayer_Virtual_Guest_Block_Device_Template_Group'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#accountObject

Returns the value of attribute account.



29
30
31
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 29

def 
  @account
end

#account_contact_countObject

Returns the value of attribute account_contact_count.



22
23
24
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 22

def 
  @account_contact_count
end

#account_contactsObject

Returns the value of attribute account_contacts.



30
31
32
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 30

def 
  @account_contacts
end

#account_idObject

Returns the value of attribute account_id.



11
12
13
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 11

def 
  @account_id
end

#account_reference_countObject

Returns the value of attribute account_reference_count.



23
24
25
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 23

def 
  @account_reference_count
end

#account_referencesObject

Returns the value of attribute account_references.



31
32
33
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 31

def 
  @account_references
end

#block_device_countObject

Returns the value of attribute block_device_count.



24
25
26
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 24

def block_device_count
  @block_device_count
end

#block_devicesObject

Returns the value of attribute block_devices.



32
33
34
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 32

def block_devices
  @block_devices
end

#block_devices_disk_space_totalObject

Returns the value of attribute block_devices_disk_space_total.



33
34
35
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 33

def block_devices_disk_space_total
  @block_devices_disk_space_total
end

#childrenObject

Returns the value of attribute children.



34
35
36
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 34

def children
  @children
end

#children_countObject

Returns the value of attribute children_count.



25
26
27
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 25

def children_count
  @children_count
end

#create_dateObject

Returns the value of attribute create_date.



12
13
14
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 12

def create_date
  @create_date
end

#datacenterObject

Returns the value of attribute datacenter.



35
36
37
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 35

def datacenter
  @datacenter
end

#datacenter_countObject

Returns the value of attribute datacenter_count.



26
27
28
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 26

def datacenter_count
  @datacenter_count
end

#datacentersObject

Returns the value of attribute datacenters.



36
37
38
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 36

def datacenters
  @datacenters
end

#flex_image_flagObject

Returns the value of attribute flex_image_flag.



37
38
39
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 37

def flex_image_flag
  @flex_image_flag
end

#global_identifierObject

Returns the value of attribute global_identifier.



38
39
40
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 38

def global_identifier
  @global_identifier
end

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 13

def id
  @id
end

#image_typeObject

Returns the value of attribute image_type.



39
40
41
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 39

def image_type
  @image_type
end

#image_type_key_nameObject

Returns the value of attribute image_type_key_name.



40
41
42
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 40

def image_type_key_name
  @image_type_key_name
end

#nameObject

Returns the value of attribute name.



14
15
16
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 14

def name
  @name
end

#noteObject

Returns the value of attribute note.



15
16
17
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 15

def note
  @note
end

#parentObject

Returns the value of attribute parent.



41
42
43
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 41

def parent
  @parent
end

#parent_idObject

Returns the value of attribute parent_id.



16
17
18
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 16

def parent_id
  @parent_id
end

#public_flagObject

Returns the value of attribute public_flag.



17
18
19
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 17

def public_flag
  @public_flag
end

#ssh_key_countObject

Returns the value of attribute ssh_key_count.



27
28
29
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 27

def ssh_key_count
  @ssh_key_count
end

#ssh_keysObject

Returns the value of attribute ssh_keys.



42
43
44
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 42

def ssh_keys
  @ssh_keys
end

#statusObject

Returns the value of attribute status.



43
44
45
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 43

def status
  @status
end

#status_idObject

Returns the value of attribute status_id.



18
19
20
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 18

def status_id
  @status_id
end

#storage_repositoryObject

Returns the value of attribute storage_repository.



44
45
46
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 44

def storage_repository
  @storage_repository
end

#summaryObject

Returns the value of attribute summary.



19
20
21
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 19

def summary
  @summary
end

#tag_reference_countObject

Returns the value of attribute tag_reference_count.



28
29
30
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 28

def tag_reference_count
  @tag_reference_count
end

#tag_referencesObject

Returns the value of attribute tag_references.



45
46
47
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 45

def tag_references
  @tag_references
end

#transactionObject

Returns the value of attribute transaction.



46
47
48
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 46

def transaction
  @transaction
end

#transaction_idObject

Returns the value of attribute transaction_id.



20
21
22
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 20

def transaction_id
  @transaction_id
end

#user_record_idObject

Returns the value of attribute user_record_id.



21
22
23
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 21

def user_record_id
  @user_record_id
end

Class Method Details

.create_from_external_source(message) ⇒ Object

configuration



59
60
61
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 59

def self.create_from_external_source(message)
  request(:create_from_external_source, Softlayer::Virtual::Guest::Block::Device::Template::Group, message)
end

.get_public_customer_owned_imagesObject



141
142
143
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 141

def self.get_public_customer_owned_images
  request(:get_public_customer_owned_images, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group])
end

.get_public_imagesObject



145
146
147
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 145

def self.get_public_images
  request(:get_public_images, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group])
end

.get_vhd_import_software_descriptionsObject



173
174
175
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 173

def self.get_vhd_import_software_descriptions
  request(:get_vhd_import_software_descriptions, Array[Softlayer::Software::Description])
end

Instance Method Details

#add_locations(message) ⇒ Object

locations



49
50
51
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 49

def add_locations(message)
  request(:add_locations, Boolean, message)
end

#copy_to_external_source(message) ⇒ Object

configuration



54
55
56
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 54

def copy_to_external_source(message)
  request(:copy_to_external_source, Boolean, message)
end

#create_public_archive_transaction(message) ⇒ Object

group_name summary note locations



67
68
69
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 67

def create_public_archive_transaction(message)
  request(:create_public_archive_transaction, Integer, message)
end

#delete_objectObject



71
72
73
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 71

def delete_object
  request(:delete_object, Softlayer::Provisioning::Version1::Transaction)
end

#deny_sharing_access(message) ⇒ Object

account_id



76
77
78
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 76

def deny_sharing_access(message)
  request(:deny_sharing_access, Boolean, message)
end

#edit_object(message) ⇒ Object

template_object



81
82
83
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 81

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_accountObject



85
86
87
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 85

def 
  request(:get_account, Softlayer::Account)
end

#get_account_contactsObject



89
90
91
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 89

def 
  request(:get_account_contacts, Array[Softlayer::Account::Contact])
end

#get_account_referencesObject



93
94
95
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 93

def 
  request(:get_account_references, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group::Accounts])
end

#get_block_devicesObject



97
98
99
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 97

def get_block_devices
  request(:get_block_devices, Array[Softlayer::Virtual::Guest::Block::Device::Template])
end

#get_block_devices_disk_space_totalObject



101
102
103
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 101

def get_block_devices_disk_space_total
  request(:get_block_devices_disk_space_total, Float)
end

#get_childrenObject



105
106
107
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 105

def get_children
  request(:get_children, Array[Softlayer::Virtual::Guest::Block::Device::Template::Group])
end

#get_datacenterObject



109
110
111
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 109

def get_datacenter
  request(:get_datacenter, Softlayer::Location)
end

#get_datacentersObject



113
114
115
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 113

def get_datacenters
  request(:get_datacenters, Array[Softlayer::Location])
end

#get_flex_image_flagObject



117
118
119
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 117

def get_flex_image_flag
  request(:get_flex_image_flag, Boolean)
end

#get_global_identifierObject



121
122
123
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 121

def get_global_identifier
  request(:get_global_identifier, String)
end

#get_image_typeObject



125
126
127
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 125

def get_image_type
  request(:get_image_type, String)
end

#get_image_type_key_nameObject



129
130
131
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 129

def get_image_type_key_name
  request(:get_image_type_key_name, String)
end

#get_objectObject



133
134
135
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 133

def get_object
  request(:get_object, Softlayer::Virtual::Guest::Block::Device::Template::Group)
end

#get_parentObject



137
138
139
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 137

def get_parent
  request(:get_parent, Softlayer::Virtual::Guest::Block::Device::Template::Group)
end

#get_ssh_keysObject



149
150
151
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 149

def get_ssh_keys
  request(:get_ssh_keys, Array[Softlayer::Security::Ssh::Key])
end

#get_statusObject



153
154
155
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 153

def get_status
  request(:get_status, Softlayer::Virtual::Guest::Block::Device::Template::Group::Status)
end

#get_storage_locationsObject



157
158
159
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 157

def get_storage_locations
  request(:get_storage_locations, Array[Softlayer::Location])
end

#get_storage_repositoryObject



161
162
163
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 161

def get_storage_repository
  request(:get_storage_repository, Softlayer::Virtual::Storage::Repository)
end

#get_tag_referencesObject



165
166
167
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 165

def get_tag_references
  request(:get_tag_references, Array[Softlayer::Tag::Reference])
end

#get_transactionObject



169
170
171
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 169

def get_transaction
  request(:get_transaction, Softlayer::Provisioning::Version1::Transaction)
end

#permit_sharing_access(message) ⇒ Object

account_id



178
179
180
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 178

def permit_sharing_access(message)
  request(:permit_sharing_access, Boolean, message)
end

#remove_locations(message) ⇒ Object

locations



183
184
185
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 183

def remove_locations(message)
  request(:remove_locations, Boolean, message)
end

#set_available_locations(message) ⇒ Object

locations



188
189
190
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 188

def set_available_locations(message)
  request(:set_available_locations, Boolean, message)
end

#set_tags(message) ⇒ Object

tags



193
194
195
# File 'lib/softlayer/virtual/guest/block/device/template/group.rb', line 193

def set_tags(message)
  request(:set_tags, Boolean, message)
end