Functions of ballerina.config package
public function getGlobalValue(string property) (string)
Retrieve the specified global configuration value
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
property | string | The configuration to be retrieved |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
string | Configuration value of property |
public function getInstanceValue(string instanceId, string property) (string)
Retrieve the specified configuration value for the named instance
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
instanceId | string | The ID of the instance |
property | string | The configuration to be retrieved |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
string | Configuration value of the property of the instance denoted by instanceId |