Import and export, Retrieving license information, Retrieving license information example – Google Search Appliance Administrative API Developers Guide: .NET User Manual
Page 50

Google Search Appliance: Administrative API Developer’s Guide: .NET
50
Retrieving License Information
Retrieve license information using the following properties.
Retrieving License Information Example
Retrieve the license Information from a search appliance as follows:
// Send the request and print the response
GsaEntry myEntry = myService.GetEntry("info", "licenseInfo");
Console.WriteLine("Appliance ID: " + myEntry.GetGsaContent("applianceID"));
Console.WriteLine("License ID: " + myEntry.GetGsaContent("licenseID"));
Console.WriteLine("License Valid Until: " + myEntry.GetGsaContent
("licenseValidUntil"));
Console.WriteLine("Maximum Front Ends: " + myEntry.GetGsaContent
("maxFrontends"));
Console.WriteLine("Maximum Pages: " + myEntry.GetGsaContent("maxPages"));
Console.WriteLine("Maximum Collections: " + myEntry.GetGsaContent
("maxCollections"));
Import and Export
Import or export a search appliance configuration using the importExport entry of the config feed.
The following is the common query parameter for all requests.
Specify importExport entry properties.
Property
Description
applianceID
Provides the identification value for the Google Search Appliance
software. This value is also known as the serial number for the search
appliance.
licenseID
Provides the unique license identification value.
licenseValidUntil
Identifies when the search appliance software license expires.
maxCollections
Indicates the maximum number of collections. You can configure
collections at the ndex > Collections page.
maxFrontends
Indicates the maximum number of front ends. You can configure front
ends at the Search > Search Features > Front Ends page.
maxPages
Maximum number of content items that you can index with this
product. Content items include documents, images, and content from
the feeds interface.
Parameter
Description
password
The password of the exported configuration.
Property
Description
password
The password of the configuration file.
xmlData
The content of an exported configuration saved as XML data.