Sha256: 0b732a8aa59514d6f7893e8c2523d86840089099e601c004820b82e2a00c1f01

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve settings for this organization.
        #
        # Organization settings are divided into categories. This request
        # retrieves all categories of organization settings.
        #
        # @param [String] id Object identitifier of the organization.
        # @return [Excon:Response]
        #   * body<~Hash>:
        #     * :href<~String> - The URI of the entity.
        #     * :type<~String> - The MIME type of the entity.
        #     * :OrgGeneralSettings<~Hash>:
        #     * :VAppLeaseSettings<~Hash>:
        #     * :VAppTemplateLeaseSettings<~Hash>:
        #     * :OrgLdapSettings<~Hash>:
        #     * :OrgEmailSettings<~Hash>:
        #     * :OrgPasswordPolicySettings<~Hash>:
        #     * :OrgOperationLimitsSettings<~Hash>:
        #     * :OrgFederationSettings<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-OrgSettings.html
        # @since vCloud API version 0.9
        def get_org_settings(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "admin/org/#{id}/settings"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/get_org_settings.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_org_settings.rb