KuduClientSettingsExtensions.

SettingsSet(IKuduClient, IReadOnlyDictionary<string, string>) Method

Summary

Set settings to appservice.

Syntax

public static void SettingsSet(this IKuduClient client, IReadOnlyDictionary<string, string> settings)

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);

 var newSettings = new Dictionary<string, string>
     {
         { "FOO", "Bar" },
         { "JOHN", "Doe" }
     };

 kuduClient.SettingsSet(
     newSettings);

Parameters

Name Type Description
client IKuduClient The Kudu client.
settings IReadOnlyDictionary<string, string> The settings to set.

Return Value

Type Description
void