Beispiel #1
0
 public static Task Reset(vCloudClient client, ReferenceType externalNetworkReference)
 {
     try
     {
         return(ExternalNetwork.ExecuteAction(client, externalNetworkReference.href + "/action/reset", (string)null, (string)null, 202));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }
Beispiel #2
0
 public Task Reset()
 {
     try
     {
         return(ExternalNetwork.ExecuteAction(this.VcloudClient, this.Reference.href + "/action/reset", (string)null, (string)null, 202));
     }
     catch (Exception ex)
     {
         throw new VCloudException(ex.Message);
     }
 }