Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::Organization

Public Instance Methods

admin() click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 26
def admin
  @admin ||= self.service.admin_organizations.new(:href => "/cloudapi/ecloud/admin/organizations/#{id}")
end
disable_support_access(options = {}) click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 66
def disable_support_access(options = {})
  options[:uri] = "/cloudapi/ecloud/admin/organizations/#{id}/action/disableSupportAccess"
  service.admin_disable_support_access(options[:uri])
end
edit_authentication_levels(options = {}) click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 43
def edit_authentication_levels(options = {})
  options[:uri] = "/cloudapi/ecloud/admin/organizations/#{id}/authenticationLevels"
  data = service.admin_edit_authentication_levels(options).body
  level = Fog::Compute::Ecloud::AdminOrganizations.new(:service => service, :href => data[:href])[0]
end
edit_login_banner(options = {}) click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 55
def edit_login_banner(options = {})
  options[:uri] = "/cloudapi/ecloud/admin/organizations/#{id}/loginBanner"
  data = service.admin_edit_login_banner(options).body
  banner = Fog::Compute::Ecloud::LoginBanners.new(:service => service, :href => data[:href])[0]
end
edit_password_complexity_rules(options = {}) click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 49
def edit_password_complexity_rules(options = {})
  options[:uri] = "/cloudapi/ecloud/admin/organizations/#{id}/passwordComplexityRules"
  data = service.admin_edit_password_complexity_rules(options).body
  level = Fog::Compute::Ecloud::PasswordComplexityRules.new(:service => service, :href => data[:href])[0]
end
enable_support_access(options = {}) click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 61
def enable_support_access(options = {})
  options[:uri] = "/cloudapi/ecloud/admin/organizations/#{id}/action/enableSupportAccess"
  service.admin_enable_support_access(options[:uri])
end
environments() click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 18
def environments
  @environments ||= self.service.environments(:href => href)
end
Also aliased as: vdcs
id() click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 71
def id
  href.scan(/\d+/)[0]
end
locations() click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 14
def locations
  @locations ||= Fog::Compute::Ecloud::Locations.new( :service => service, :href => href )
end
support_tickets(type = :open) click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 34
def support_tickets(type = :open)
  case type
  when :open
    @support_tickets ||= Fog::Compute::Ecloud::SupportTickets.new(:service => service, :href => "/cloudapi/ecloud/admin/tickets/organizations/#{id}/active")
  when :closed
    @support_tickets ||= Fog::Compute::Ecloud::SupportTickets.new(:service => service, :href => "/cloudapi/ecloud/admin/tickets/organizations/#{id}/closed")
  end
end
tags() click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 22
def tags
  @tags ||= self.service.tags(:href => "/cloudapi/ecloud/deviceTags/organizations/#{id}")
end
users() click to toggle source
# File lib/fog/ecloud/models/compute/organization.rb, line 30
def users
  @users ||= self.service.users(:href => "/cloudapi/ecloud/admin/users/organizations/#{id}")
end
vdcs() click to toggle source
Alias for: environments

[Validate]

Generated with the Darkfish Rdoc Generator 2.