KuduClientSettingsExtensions.

SettingsGet(IKuduClient) Method

Summary

Get settings from appservice.

Syntax

public static IReadOnlyDictionary<string, string> SettingsGet(this IKuduClient client)

Examples

 #addin nuget:?package=Cake.Kudu.Client

 string  baseUri     = EnvironmentVariable("KUDU_CLIENT_BASEURI"),
         userName    = EnvironmentVariable("KUDU_CLIENT_USERNAME"),
         password    = EnvironmentVariable("KUDU_CLIENT_PASSWORD");

 IKuduClient kuduClient = KuduClient(
     baseUri,
     userName,
     password);

 ReadOnlyDictionary<string, string> settings = kuduClient.SettingsGet();

 foreach(var setting in settings)
 {
     Information(
         "{0}={1}",
         setting.Key,
         setting.Value);
 }

Parameters

Name Type Description
client IKuduClient The Kudu client.

Return Value

Type Description
IReadOnlyDictionary<string, string> The appservice settings.