GetConfig

You can use the GetConfig API method to get all configuration information for a node. This API method includes the same information available in both the GetClusterConfig and GetNetworkConfig API methods.

Parameters

This method has no input parameters.

Return values

This method has the following return value:

Name Description Type
config The configuration details of the cluster. This object contains:
  • cluster: Cluster information that identifies how the storage node communicates with the storage cluster it is associated with.
  • network (all interfaces): Network connection types and current settings for each network interface of the node.
JSON object

Request example

Requests for this method are similar to the following example:

{
   "method": "GetConfig",
   "params": {},
   "id" : 1
}

Response example

Due to the length of this response example, it is documented in a supplementary topic.