Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.71 KB

reference_element_api_getconfig.adoc

File metadata and controls

62 lines (44 loc) · 1.71 KB
permalink sidebar keywords summary
api/reference_element_api_getconfig.html
sidebar
node,get,getting,info,config,configuration,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.

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.

New since version

9.6