public static Task Delete(vCloudClient client, ReferenceType adminOrgVdcNetworkRef) { try { return(AdminOrgVdcNetwork.DeleteOrgVdcNetwork(client, adminOrgVdcNetworkRef.href)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public Task Delete() { try { return(AdminOrgVdcNetwork.DeleteOrgVdcNetwork(this.VcloudClient, this.Reference.href)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Task Reset(vCloudClient client, ReferenceType adminOrgNetworkReference) { return(AdminOrgVdcNetwork.ExecuteAction(client, adminOrgNetworkReference.href + "/action/reset", (string)null, (string)null, 202)); }
public Task Reset() { return(AdminOrgVdcNetwork.ExecuteAction(this.VcloudClient, this.Reference.href + "/action/reset", (string)null, (string)null, 202)); }