Class: Softlayer::Account::Link::OpenStack
- Inherits:
-
Softlayer::Account::Link
show all
- Defined in:
- lib/softlayer/account/link/open_stack.rb,
lib/softlayer/account/link/open_stack/link_request.rb,
lib/softlayer/account/link/open_stack/project_details.rb,
lib/softlayer/account/link/open_stack/domain_creation_details.rb,
lib/softlayer/account/link/open_stack/project_creation_details.rb
Defined Under Namespace
Classes: DomainCreationDetails, LinkRequest, ProjectCreationDetails, ProjectDetails, Representer
Constant Summary
collapse
- SERVICE =
'SoftLayer_Account_Link_OpenStack'
Instance Attribute Summary collapse
#account, #account_id, #create_date, #destination_account_alphanumeric_id, #destination_account_id, #id, #service_provider, #service_provider_id
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
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#domain_id ⇒ Object
Returns the value of attribute domain_id.
10
11
12
|
# File 'lib/softlayer/account/link/open_stack.rb', line 10
def domain_id
@domain_id
end
|
Class Method Details
.create_os_domain ⇒ Object
12
13
14
|
# File 'lib/softlayer/account/link/open_stack.rb', line 12
def self.create_os_domain
request(:create_os_domain, nil)
end
|
.create_os_project ⇒ Object
16
17
18
|
# File 'lib/softlayer/account/link/open_stack.rb', line 16
def self.create_os_project
request(:create_os_project, nil)
end
|
.delete_os_domain ⇒ Object
20
21
22
|
# File 'lib/softlayer/account/link/open_stack.rb', line 20
def self.delete_os_domain
request(:delete_os_domain, nil)
end
|
.delete_os_project ⇒ Object
24
25
26
|
# File 'lib/softlayer/account/link/open_stack.rb', line 24
def self.delete_os_project
request(:delete_os_project, nil)
end
|
.get_os_project ⇒ Object
36
37
38
|
# File 'lib/softlayer/account/link/open_stack.rb', line 36
def self.get_os_project
request(:get_os_project, nil)
end
|
.list_os_projects ⇒ Object
48
49
50
|
# File 'lib/softlayer/account/link/open_stack.rb', line 48
def self.list_os_projects
request(:list_os_projects, nil)
end
|
Instance Method Details
#delete_object ⇒ Object
28
29
30
|
# File 'lib/softlayer/account/link/open_stack.rb', line 28
def delete_object
request(:delete_object, Boolean)
end
|
#get_account ⇒ Object
32
33
34
|
# File 'lib/softlayer/account/link/open_stack.rb', line 32
def get_account
request(:get_account, Softlayer::Account)
end
|
#get_service_provider ⇒ Object
44
45
46
|
# File 'lib/softlayer/account/link/open_stack.rb', line 44
def get_service_provider
request(:get_service_provider, Softlayer::Service::Provider)
end
|