All URIs are relative to https://<vcenter>/rest
| Method | HTTP request | Description |
|---|---|---|
| list | GET /com/vmware/vapi/rest/navigation/component | Gets list of all vAPI REST {@link Component}s. |
VapiRestNavigationComponentListResult list(opts)
Gets list of all vAPI REST {@link Component}s.
# load the gem
require 'vsphere-automation-vapi'
# setup authorization
VSphereAutomation::Configuration.new.tap do |config|
# Configure API key authorization: api_key
config.api_key['vmware-api-session-id'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['vmware-api-session-id'] = 'Bearer'
end
api_instance = VSphereAutomation::VAPI::RestNavigationComponentApi.new
opts = {
base_url: 'base_url_example' # String | Base URL.
}
begin
#Gets list of all vAPI REST {@link Component}s.
result = api_instance.list(opts)
p result
rescue VSphereAutomation::ApiError => e
puts "Exception when calling RestNavigationComponentApi->list: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| base_url | String | Base URL. | [optional] |
VapiRestNavigationComponentListResult
- Content-Type: Not defined
- Accept: application/json