Beispiel #1
0
 public Task EnableDownload()
 {
     try
     {
         return(VappTemplate.ExecuteVappTemplateAction(this.VcloudClient, this.Reference.href + "/action/enableDownload", (string)null, (string)null, 202));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }
Beispiel #2
0
 public static Task EnableDownload(vCloudClient client, ReferenceType vAppTemplateRef)
 {
     try
     {
         string vappActionUrl = vAppTemplateRef.href + "/action/enableDownload";
         return(VappTemplate.ExecuteVappTemplateAction(client, vappActionUrl, (string)null, (string)null, 202));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }