KuduClientVFSExtensions.

VFSDeleteFile(IKuduClient, FilePath) Method

Summary

Deletes remote file.

Syntax

public static void VFSDeleteFile(this IKuduClient client, FilePath remotePath)

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

 FilePath remoteFilePath = "/site/wwwroot/hello.txt";
 kuduClient.VFSDeleteFile(remoteFilePath);

Parameters

Name Type Description
client IKuduClient The Kudu client.
remotePath FilePath The remote target path.

Return Value

Type Description
void